summaryrefslogtreecommitdiff
path: root/myansible.sh
diff options
context:
space:
mode:
Diffstat (limited to 'myansible.sh')
-rwxr-xr-xmyansible.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/myansible.sh b/myansible.sh
index 3af898d..1e4d15b 100755
--- a/myansible.sh
+++ b/myansible.sh
@@ -3,12 +3,15 @@
## wrapper for ansible, ensuring password is provided
if ! ssh-add -l >/dev/null; then
-ssh-add ~/.ssh/ansible
-ssh-add ~/.ssh/id_hetz
-ssh-add ~/.ssh/id_netcup
-ssh-add ~/.ssh/id_rsa
-ssh-add ~/.ssh/firstroot
-ssh-add ~/.ssh/gcloud
+ssh-add ~/.ssh/ansible \
+ ~/.ssh/id_hetz \
+ ~/.ssh/id_netcup \
+ ~/.ssh/id_rsa \
+ ~/.ssh/firstroot \
+ ~/.ssh/gcloud \
+ ~/.ssh/virtuacloud \
+ ~/.ssh/ifog_otter
fi
-ansible-playbook --ask-vault-pass -e '@passwd.yml' $@
+./venv/bin/ansible-playbook --ask-vault-pass -e '@passwd.yml' $@
+# -B / -P for background/polling