Ansible docker image with prepared bash aliases and bash scripts
You can use prepared bash aliases:
- Copy
.bash_aliases_ansible
file to somewhere (e.g. ~/.bash_aliases_ansible). - 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