summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmyansible.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/myansible.sh b/myansible.sh
new file mode 100755
index 0000000..4d5a9fe
--- /dev/null
+++ b/myansible.sh
@@ -0,0 +1,7 @@
+#!/bin/bash -x
+
+## wrapper for ansible, ensuring password is provided
+
+ssh-add ~/.ssh/ansible
+
+ansible-playbook --ask-vault-pass -b -e '@passwd.yml' $@