diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-04-16 13:52:33 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-04-16 13:52:33 +0300 |
commit | 247e400a8af284b0cbea7c0cf8f306b4918a67a5 (patch) | |
tree | 6f5e8d6d322602c227bd7602887e5024a4984030 /ansible/run-playbook | |
parent | 9f8affaac116a9a45fc8b6ec7a4ee0e96a5ecf57 (diff) | |
download | ansibleness-247e400a8af284b0cbea7c0cf8f306b4918a67a5.tar.gz |
Deploy sshforward keypair to holywood
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..bfd7331 --- /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)"/ssh_keypairs +ansible-playbook -i hosts "$@" |