CentOS 7 based Dockerfile for Ansible including Pyvmomi and Ovirt-Engine-SDK-Python.
Copy the source down and cd into folder.
Build the docker image:
# docker build -t ansible .
To run and mount a local volume with playbooks:
# docker run --name ansible -itv /local/path/to/playbooks:/home/playbooks ansible:latest
Edit docker-compose.yml and set local volume path.
To get interactive shell:
# docker-compose run ansible
MIT/BSD
This Dockerfile was created by Michael Tipton.