Skip to content
Snippets Groups Projects
Verified Commit 849eb43d authored by Florian Pritz's avatar Florian Pritz
Browse files

Put vault-password-file setting into ansible.cfg


Uhm, yeah. Forget I ever created a wrapper for that...

Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
parent 0d2ea540
No related branches found
No related tags found
No related merge requests found
ansible-command-wrapper
\ No newline at end of file
#!/bin/bash
command=$(basename "$0")
if [[ $command = "ansible-command-wrapper" ]]; then
if [[ $# -gt 0 ]]; then
command=$1
shift
else
echo "usage: ansible-command-wrapper <command name> [arguments]" >&2
exit 1
fi
fi
exec "$command" --vault-password-file $(dirname $0)/misc/get-vault-pass.sh "$@"
ansible-command-wrapper
\ No newline at end of file
ansible-command-wrapper
\ No newline at end of file
......@@ -7,6 +7,7 @@ gathering = implicit
remote_user = root
nocows = 1
roles_path = roles
vault_password_file = misc/get-vault-pass.sh
[ssh_connection]
pipelining = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment