Ansible-Docker/README.md

23 lines
346 B
Markdown
Raw Normal View History

2024-11-05 14:00:56 -07:00
# 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`
```yml
---
# file: hosts
docker:
hosts:
doc01:
ansible_host: 10.10.10.14
vars:
ansible_user: ansible
```