The playbook has 3 roles:
- docker: Installs docker from the stable repository (download.docker.com)
- nginx-proxy: Starts nginx-proxy and letsencrypt-nginx-proxy-companion containers
- tzapp: Start timezone app in docker with specified host from
playbook.yml
For local run with Vagrant:
vagrant up
ansible-playbook -i inventory --limit local playbook.yml
For remote:
- Put your destination server into inventory file / in the command below specify your own path
ansible-playbook -i inventory --limit remote playbook.yml