Ansible playbook that provisions a server to run Docker.
Find a file
2024-11-05 14:00:56 -07:00
roles/docker Initial commit 2024-11-05 14:00:56 -07:00
.gitignore Initial commit 2024-11-05 14:00:56 -07:00
docker.yml Initial commit 2024-11-05 14:00:56 -07:00
hosts.yml Initial commit 2024-11-05 14:00:56 -07:00
LICENSE Initial commit 2024-11-05 13:59:01 -07:00
README.md Initial commit 2024-11-05 14:00:56 -07:00
site.yml Initial commit 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

---
# file: hosts

docker:
  hosts:
    doc01:
      ansible_host: 10.10.10.14

  vars:
    ansible_user: ansible