Ansible container for running playbooks in a clean environment.
407
OS: Alpine Linux 3.9.3
Ansible: 2.7.10 (With azure modules included)
pip: 19.1.1
Python: 3.6.8
This is just an example and it can be adjusted in any way that you see fit, however this is just how it is currently being used.
docker run -it \
--name ansible_env_${RANDOM} \
--rm \
-v ${_PLAYBOOKS_DIR}:/data/playbooks \
-v ${_INVENTORY_DIR}:/data/inventory \
kernelfortress/ansible:latest \
/bin/bash
Content type
Image
Digest
Size
161 MB
Last updated
over 7 years ago
docker pull kernelfortress/ansible