Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ansible vault diff
# [your_project]$ cat .gitattributes
prod/group_vars/vaulted* diff=ansible-vault-prod merge=binary
# [your_project]$ cat ~/.gitconfig
[diff "ansible-vault-prod"]
textconv = ansible-vault view --vault-password-file ~/vault_prod.txt
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment