Ansible playbook that provisions a server to run Docker.
roles/docker | ||
.gitignore | ||
docker.yml | ||
hosts.yml | ||
LICENSE | ||
README.md | ||
site.yml |
Ansible-Docker
Ansible playbook that provisions a server to run Docker.
Example
Execute playbook with needed variables to setup a server to run Docker.
ansible-playbook -i hosts site.yml
---
# file: hosts
docker:
hosts:
doc01:
ansible_host: 10.10.10.14
vars:
ansible_user: ansible