Sign inSign up

metalguardian/ansible

By metalguardian

•Updated almost 6 years ago

Use ansible from docker container

Image
0

202

metalguardian/ansible repository overview

⁠docker-ansible

Ansible docker image with prepared bash aliases and bash scripts

You can use prepared bash aliases:

  1. Copy .bash_aliases_ansible file to somewhere (e.g. ~/.bash_aliases_ansible).
  2. Add the following line to your .bashrc/.zshrc:
source ~/.bash_aliases_ansible

Or add directory to the PATH (or symlink scripts)

Then you can use commands:

ansible all -i hosts -m setup

ansible-playbook -i hosts site.yml

ansible-galaxy install -r requirements.yml

ansible-vault encrypt foo.yml

ansible-doc

The editor for the ansible-vault create command is vi

Tag summary

Content type

Image

Digest

Size

52.8 MB

Last updated

almost 6 years ago

docker pull metalguardian/ansible