diff options
Diffstat (limited to 'ansible/run-playbook')
-rwxr-xr-x | ansible/run-playbook | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/run-playbook b/ansible/run-playbook new file mode 100755 index 0000000..c796862 --- /dev/null +++ b/ansible/run-playbook @@ -0,0 +1,16 @@ +#!/bin/sh + +set -eu + +abspath() +{ + (cd "$1" && pwd) +} + +srcdir() +{ + abspath "$(dirname "$0")" +} + +export PASSWORD_STORE_DIR="$(srcdir)"/secrets +ansible-playbook -i hosts "$@" |