• ‹.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>
3 lines
64 B
Bash
Executable file
3 lines
64 B
Bash
Executable file
#!/bin/sh
|
|
|
|
bw get password "git.mfocko.xyz:mfocko/dotfiles.git"
|