• Amelia • Toronto Roderick R. Randolph Opinions expressed are solely my own and do not express the views or opinions of my employer. /roderickrandolph
can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. http://docs.ansible.com/ansible/
1.7.0 • Uses the Version 1 file format • Ansible Container Builder (Docker image) • Runs ansible-playbook from inside the container • Docker connection plugin (now available in Ansible 2.1) • Can be used outside of ansible-container
Run containers • Push containers to any Docker registry • Ship containers to a Docker cloud compatible platform • Google's Kubernetes • RedHat's OpenShift
• Python is required to run Ansible in containers • Ansible's raw module can be used to install Python into the container • Don't mix container-managed playbooks with server-managed playbooks • Use Ansible roles to share tasks between playbooks • Ansible Galaxy roles must be installed next to the playbook vs. in the global default directory (i.e. /etc/ansible/roles) • E.g. ansible-galaxy install <role> -p ansible/roles • Use --flatten to reduce image size • Docker-in-Docker and Ansible Container don't play well together
and tagging images •Template rendering in container.yml •Custom build variables and volumes •And more… https://docs.ansible.com/ansible-container/roadmaps/roadmap_0_2_0.html