diff --git a/cmd.sh b/cmd.sh index 07a5567..d8188b1 100755 --- a/cmd.sh +++ b/cmd.sh @@ -3,5 +3,4 @@ HOSTS="$1" CMD="$2" -ansible -u ansible -m shell -a "$CMD" \ - --become --ask-become-pass --ask-vault-pass "$HOSTS" +ansible -b -u ansible -m shell -a "$CMD" "$HOSTS" diff --git a/play.sh b/play.sh index 989c61d..26ab98e 100755 --- a/play.sh +++ b/play.sh @@ -18,7 +18,7 @@ export ROLES PLAYBOOK="play-$(tr -dc A-Za-z < /dev/urandom | head -c 10).yml" envsubst < playbook_template.yml > "$PLAYBOOK" -ansible-playbook "$PLAYBOOK" --ask-become-pass --ask-vault-pass +ansible-playbook "$PLAYBOOK" STATUS=$? rm -f "$PLAYBOOK" diff --git a/roles/apps/defaults/main.yml b/roles/apps/defaults/main.yml index b41168c..9451703 100644 --- a/roles/apps/defaults/main.yml +++ b/roles/apps/defaults/main.yml @@ -54,7 +54,7 @@ apps_vars: backup: false sender: false extra_tasks: false - version: '1.7.0' + version: '1.7.1' watchtower: backup: false