dotfiles/.gitattributes
Matej Focko 4b80dac477
feat: allow plain-text diff of Ansible Vault
• ‹.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>
2025-04-21 12:17:41 +02:00

1 line
41 B
Text

**/vault diff=ansible-vault merge=binary