Ansible role to install docker and docker-compose.
Steps:
- Create file
~/.ansible/vault_pass_insecure
and put a generic pass in it - Exec
direnv allow
- Provision ip address at
/etc/hosts
in 192.168.4.0 network. - Update
Vagrantfile
withproject_name
andip_address
- Update
ansible/hosts
- Update file
ansible/group_vars/project_name.yml
- Update
ansible/requirements.yml
- Update
ansible/playbook.yml
Other optional steps:
- Uncomment directive config.vm.synced_folder in Vagrantfile for web server projects.
- Uncomment directive v.customize in Vagrantfile if you want to disable VT-x to use with KVM.
- Uncomment python-mysqldb install in bootstrap.sh if ansible local provisioner uses mysql module.
- Update config.vm.box in VagrantFile (defaults to ubuntu/bionic64)