/ansible-dockerfile

CentOS 7 Dockerfile with Ansible including Pyvmomi and Ovirt Engine SDK Python for managing infrastructure.

Primary LanguageDockerfile

Ansible Dockerfile

Build Status License: MIT GitHub repo size in bytes GitHub last commit

CentOS 7 based Dockerfile for Ansible including Pyvmomi and Ovirt-Engine-SDK-Python.

Build

Copy the source down and cd into folder.

Build the docker image:

# docker build -t ansible .

Usage

To run and mount a local volume with playbooks:

# docker run --name ansible -itv /local/path/to/playbooks:/home/playbooks ansible:latest

Docker-Compose Usage

Edit docker-compose.yml and set local volume path.

To get interactive shell:

# docker-compose run ansible

License

MIT/BSD

Author Information

This Dockerfile was created by Michael Tipton.