#cloud-config

manage_etc_hosts: true

# Only useful for local virtual machine
hostname: null
fqdn: null

ssh_keys: {}

users:
  # Create the administrative account `plumber`
  - name: plumber
    sudo: ['ALL = (ALL : ALL) NOPASSWD: ALL']
    shell: /bin/bash
    ssh-authorized-keys: []

packages:
  # Install Python2 for Ansible
  - python

runcmd:
  # Enable the most basic firewall configuration
  - ufw enable
  - ufw allow OpenSSH

#cloud-config

manage_etc_hosts: true

# Only useful for local virtual machine
hostname: null
fqdn: null

ssh_keys: {}

users:
  # Create the administrative account `plumber`
  - name: plumber
    sudo: ['ALL = (ALL : ALL) NOPASSWD: ALL']
    shell: /bin/bash
    ssh-authorized-keys: []

runcmd:
  # Enable the most basic firewall configuration
  - ufw enable
  - ufw allow OpenSSH

Upgrade Ansible to Python 3
Upgrade Ansible to Python 3
