diff options
author | uvok cheetah | 2023-08-10 18:08:32 +0200 |
---|---|---|
committer | uvok cheetah | 2023-08-10 18:08:32 +0200 |
commit | 0a5a32e456858ada313e2c6d3ed12b75d8f93573 (patch) | |
tree | 166fcc589049002128c34a43c2bcdbef17b55dd5 | |
parent | afe0d6f44485ffae36960ad1eeb9b4a847d62aff (diff) |
Add ansible wrapper
-rwxr-xr-x | myansible.sh | 7 |
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' $@ |