Wayan Jimmy's Brain

Provision multipass using ansible

Ansible Boilerplates Deploy Docker with Ansible
Multipass Ansible

Install the Docker Galaxy Extension for Ansible

ansible-galaxy collection install community.docker

Create ansible configuration files

touch inventory ansible.cfg

Put the server IP inside the inventory file, since I’m using multipass, I can execute multipass info <vm_name> to get this information

multipass info devbox

The inventory file should look like this

The ansible.cfg file should look like this


inventory = inventory

host_key_checking = False

deprecation_warnings = False

remote_user = ubuntu

private_key_file = ./ubuntu_key