Set up password script for Keepass
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[defaults]
|
||||
remote_user = mike
|
||||
inventory = ./hosts.yml
|
||||
vault_password_file = ./vault-pass.sh
|
||||
interpreter_python = auto_silent
|
||||
|
||||
[privilege_escalation]
|
||||
|
5
ansible/vault-pass.sh
Normal file
5
ansible/vault-pass.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
keepassxc-cli show -s -a password ~/vault/Passwords.kdbx Ansible Vault
|
Reference in New Issue
Block a user