2016-07-24 19:20:12 +00:00
|
|
|
# ansible-controller
|
|
|
|
|
2016-07-31 12:44:58 +00:00
|
|
|
[![Build Status](https://drone.chmuul.net/api/badges/aal/ansible-controller/status.svg)](https://drone.chmuul.net/aal/ansible-controller)
|
2016-07-24 19:20:12 +00:00
|
|
|
|
2016-07-31 12:44:58 +00:00
|
|
|
A docker image for running ansible playbooks
|
2016-07-24 19:20:12 +00:00
|
|
|
|
2016-07-31 12:44:58 +00:00
|
|
|
Available in two flavours:
|
2016-07-24 19:20:12 +00:00
|
|
|
|
2016-07-31 12:44:58 +00:00
|
|
|
* registry.chmuul.net/ansible-controller:ubuntu-16.04
|
|
|
|
* registry.chmuul.net/ansible-controller:fedora-24
|
|
|
|
|
|
|
|
## run ansible-controller
|
2016-07-24 19:20:12 +00:00
|
|
|
|
|
|
|
docker run -it --rm \
|
|
|
|
-v /path/to/site/:/site \
|
|
|
|
-v /path/to/ansible-user-ssh/:/root/.ssh:ro \
|
|
|
|
--tmpfs /root/.ansible \
|
2016-07-31 12:44:58 +00:00
|
|
|
registry.chmuul.net/ansible-controller:ubuntu-16.04 \
|
2016-07-24 19:20:12 +00:00
|
|
|
ansible-playbook site.yml
|