Sign inSign up

someword/ansible-docker

By someword

•Updated over 10 years ago

Don't use! clone of generik/ansible - includes a coreos patch that is not in ansible mainstream yet

Image
0

710

someword/ansible-docker repository overview

⁠ansible-docker

Dockerfile for ansible in a docker on Alpine Linux

⁠Usage

Simple run :

 docker run -it --rm=true generik/ansible ansible --help

Here I'm runing a playbook from my current working directory inside docker container:

 docker run -it -v $SSH_AUTH_SOCK:/tmp/ssh.sck -e SSH_AUTH_SOCK=/tmp/ssh.sck -v `pwd`:/ansible --rm=true generik/ansible ansible-playbook myplaybook.yml

I like to forward my SSH agent inside, and mount the current working dir inside. You can also pass AWS access keys ...

Tag summary

Content type

Image

Digest

Size

121.2 MB

Last updated

over 10 years ago

docker pull someword/ansible-docker