Ansible Vault password in pass
1. Nov 2016
1 minute read

Note: As Ansible progressed it may be better to use ansible-vault id for his purpose.

Small helper script for usage with ansible-vault and ansible-playbook together with pass Two implementations: first in bash and another one in python, which should be better as the git config hack to get ini files may fail due to incompatibilities in git vs. ansible ini style. The bash version is kept for reference.

Code