From d05c0cffaaeb1e93496ae37d890c60b3d4296555 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Tue, 7 Sep 2021 20:17:05 -0400 Subject: [PATCH] Fix env var issues with hacky ansible script --- ansible | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ansible b/ansible index 7fb17d6..3e56e33 100755 --- a/ansible +++ b/ansible @@ -1,8 +1,7 @@ #!/usr/bin/env bash -ANSIBLE_CONFIG='' -ANSIBLE_FILTER_PLUGINS='' -ANSIBLE_LIBRARY='' -ANSIBLE_INVENTORY=$(pwd)/inventory.yaml - -"ansible-$1" ${@:2} +ANSIBLE_LIBRARY='' \ + ANSIBLE_FILTER_PLUGINS='' \ + ANSIBLE_CONFIG='' \ + ANSIBLE_INVENTORY=$(pwd)/inventory.yaml \ + "ansible-$1" ${@:2}