Added workdir to ubuntu file, updated README
This commit is contained in:
14
README.md
14
README.md
@@ -1,17 +1,19 @@
|
||||
# ansible-controller
|
||||
|
||||
A fedora-based docker image for running ansible playbooks
|
||||
[](https://drone.chmuul.net/aal/ansible-controller)
|
||||
|
||||
## Build the image
|
||||
A docker image for running ansible playbooks
|
||||
|
||||
docker build -t aal/ansible-controller .
|
||||
Available in two flavours:
|
||||
|
||||
## Run ansible-controller
|
||||
* registry.chmuul.net/ansible-controller:ubuntu-16.04
|
||||
* registry.chmuul.net/ansible-controller:fedora-24
|
||||
|
||||
## 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 \
|
||||
registry.chmuul.net/ansible-controller:ubuntu-16.04 \
|
||||
ansible-playbook site.yml
|
||||
|
||||
|
Reference in New Issue
Block a user