autobuilt docker image to execute Ansible in a control role
401
This docker image let's you execute an Ansible control container with Bash
Automatically updated when bash:5 changes
Start Ansible shell using files in your current directory:
docker run --rm -it -v $(pwd):/data -w='/data' colthreepv/ansible-shell
bash:/data #
Start Ansible shell in current directory, using your current user SSH key:
docker run --rm -it -v $(pwd):/data -w='/data' -v ~/.ssh:/ssh colthreepv/ansible-shell \
-c 'mkdir ~/.ssh && cp /ssh/id_rsa ~/.ssh/; bash'
Using Windows
Start Ansible shell in current directory, using your current user SSH key:
docker run --rm -it -v $(pwd):/data -w='/data' -v ~/.ssh:/ssh colthreepv/ansible-shell \
-c 'mkdir ~/.ssh && cp /ssh/id_rsa ~/.ssh/ && chmod 600 ~/.ssh/id_rsa; bash'
Content type
Image
Digest
Size
43.7 MB
Last updated
over 6 years ago
docker pull colthreepv/ansible-shell