feat: optionally get password from file
parent
1a369e1741
commit
078c1d7b03
|
@ -1,3 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
pass ansible-vault
|
||||
PASSFILE="/srv/secrets/ansible_vault_pass"
|
||||
if [ -f "$PASSFILE" ]; then
|
||||
doas cat "$PASSFILE"
|
||||
else
|
||||
pass ansible-vault
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue