Docker image for ansible tool
Usage:
docker run --rm -v `pwd`:/app webpp/ansible:latest ansible-playbook -i hosts playbook.yaml
Full image with ansible collections:
docker run --rm -v `pwd`:/app webpp/ansible:full-latest ansible-playbook -i hosts playbook.yaml
For add ssh keys use (SSH_KEY is path to ssh private key):
docker run --rm -v `pwd`:/app webpp/ansible:full-latest
/bin/bash -c 'eval $(ssh-agent -s);
chmod 600 $SSH_KEY;
ssh-add $SSH_KEY;
ansible-playbook -i hosts playbook.yaml'
Content type
Image
Digest
Size
47.8 MB
Last updated
over 5 years ago
docker pull webpp/ansible