Last active
December 27, 2017 15:53
-
-
Save ouyi/cf2901da41d02446347547a42cf5185d to your computer and use it in GitHub Desktop.
ansible vault diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [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