Sign inSign up

arthurtsang/docker-ansible

By arthurtsang

Updated over 10 years ago

update cargonauts/ansible to 2.0.0.2 (https://hub.docker.com/r/cargonauts/ansible/)

Image
0

10K+

arthurtsang/docker-ansible repository overview

Run Ansible from a Docker image

This image allows you to run Ansible without installing it on your local machine.

It assumes:

  • The Ansible playbooks are located somewhere within the users home directory
  • SSH keys end with _rsa

Aliases

These aliases can be used to have the Ansible Docker image behave like a local installation of Ansible

alias ansible='docker run -it --rm -m 128m -v ${HOME}:${HOME}:ro -v ${HOME}/.ssh:/ssh:ro -w ${PWD} cargonauts/ansible ansible'
alias ansible-playbook='docker run -it --rm -m 128m -v ${HOME}:${HOME}:ro -v ${HOME}/.ssh:/ssh:ro -w ${PWD} cargonauts/ansible ansible-playbook'
alias ansible-vault='docker run -it --rm -m 128m -v ${HOME}:${HOME}:ro -v ${HOME}/.ssh:/ssh:ro -w ${PWD} cargonauts/ansible ansible-vault'

Tag summary

Content type

Image

Digest

Size

93.5 MB

Last updated

over 10 years ago

docker pull arthurtsang/docker-ansible