• ‹.gitattributes› · use custom “diff algorithm” with text conversion · also merge as binary files to avoid corrupting the encrypted content • ‹ansible.cfg› — pass path to an executable script for getting vault password; this will run the script to get the password • ‹gitconfig› — add the custom “diff algorithm” • ‹get_vault_pass.sh› — use Bitwarden CLI to get the Ansible Vault pass Signed-off-by: Matej Focko <me@mfocko.xyz>
1 line
41 B
Text
1 line
41 B
Text
**/vault diff=ansible-vault merge=binary
|