ansible/README.md

768 B

ansible Build Status

A docker image for running ansible playbooks

Available in two 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