summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2023-08-10 18:08:32 +0200
committeruvok cheetah2023-08-10 18:08:32 +0200
commit0a5a32e456858ada313e2c6d3ed12b75d8f93573 (patch)
tree166fcc589049002128c34a43c2bcdbef17b55dd5
parentafe0d6f44485ffae36960ad1eeb9b4a847d62aff (diff)
Add ansible wrapper
-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' $@