Go to file
2016-08-12 09:32:10 +02:00
.drone.yml renamed image to 'ansible' 2016-08-12 08:50:50 +02:00
.gitignore regenerated secrets 2016-07-31 11:07:20 +02:00
Dockerfile.alpine-3 added alpine-3 image 2016-08-06 16:21:34 +02:00
Dockerfile.debian-8 be more quiet 2016-08-06 16:17:26 +02:00
Dockerfile.fedora-24 added ubuntu 16.04 version 2016-07-31 10:10:38 +02:00
Dockerfile.ubuntu-16.04 keep debian based images smaller 2016-08-06 15:32:18 +02:00
README.md added note about /root/.ansible being mounted as tmpfs 2016-08-12 09:32:10 +02:00

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