ansible/README.md
2016-08-12 09:42:16 +02:00

26 lines
769 B
Markdown

# ansible [![Build Status](https://drone.chmuul.net/api/badges/aal/ansible/status.svg)](https://drone.chmuul.net/aal/ansible)
A docker image for running ansible playbooks
Available in four flavours:
* registry.chmuul.net/ansible:ubuntu-16.04
* registry.chmuul.net/ansible:debian-8
* registry.chmuul.net/ansible:fedora-24
* registry.chmuul.net/ansible:alpine-3
## run ansible-controller
docker run -it --rm \
-v /path/to/site/:/site \
-v /path/to/ansible-user-ssh/:/root/.ssh:ro \
--tmpfs /root/.ansible \
registry.chmuul.net/ansible-controller:ubuntu-16.04 \
ansible-playbook site.yml
Note: /root/.ansible must not be an overlayfs, otherwise ssh multiplexing won't work.
## todo
Publish ansible images to docker hub