Ansible-Docker/README.md
2024-11-05 14:00:56 -07:00

346 B

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