ref: ec7c31e80c4538152575df7e048d1e8b17d8e0bb ansible-docker-install/README.md -rw-r--r-- 841 bytes
ec7c31e8Galen Abell Update README, add LICENSE 2 years ago


Ansible playbooks for installing Docker on Ubuntu, Debian and CentOS


  • Add your hosts to the hosts file (see file for examples + more info)
  • Optionally add a list of users that should be added to the docker group to the users var in the playbooks/docker.yml playbook
  • Optionally enable the docker-compose role to also install docker-compose by uncommenting that section of the playbooks/docker.yml playbook
  • Run the playbooks/docker.yml playbook with: ansible-playbook playbooks/docker.yml


  • Adding users to the docker group essentially gives them root access, so be careful who you add to this group
  • You might need to tweak some settings such as a) become_pass for the root user, b) login credentials (ie ssh / password / etc.) c) path to ansible python interpreter