From 0a5a32e456858ada313e2c6d3ed12b75d8f93573 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Thu, 10 Aug 2023 18:08:32 +0200 Subject: Add ansible wrapper --- myansible.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 myansible.sh 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' $@ -- cgit v1.2.3