Add get-vault-password.sh script to avoid passing in cli
This commit is contained in:
parent
b513f0fe93
commit
970cdb1bd0
3 changed files with 4 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -1,2 +1,2 @@
|
||||||
%:
|
%:
|
||||||
ansible-playbook playbook.yml --ask-become-pass --ask-vault-pass -t $@
|
ansible-playbook playbook.yml --ask-become-pass -t $@ --vault-password-file=get-vault-password.sh
|
||||||
|
|
3
get-vault-password.sh
Executable file
3
get-vault-password.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pass show self/setup-cockpit-ansible-vault
|
1
todo
1
todo
|
@ -4,4 +4,3 @@ add upstream to i3blocks-contrib repo
|
||||||
|
|
||||||
|
|
||||||
hangs when wrong become password
|
hangs when wrong become password
|
||||||
only ask vault if needed
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue