ansible/README.md

18 lines
389 B
Markdown
Raw Normal View History

2016-07-24 19:20:12 +00:00
# ansible-controller
A fedora-based docker image for running ansible playbooks
## Build the image
docker build -t aal/ansible-controller .
## Run ansible-controller
docker run -it --rm \
-v /path/to/site/:/site \
-v /path/to/ansible-user-ssh/:/root/.ssh:ro \
--tmpfs /root/.ansible \
aal/ansible-controller \
ansible-playbook site.yml