Fix env var issues with hacky ansible script

This commit is contained in:
Ethan Paul 2021-09-07 20:17:05 -04:00
parent 3f4c54f62b
commit d05c0cffaa
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A

View File

@ -1,8 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
ANSIBLE_CONFIG='' ANSIBLE_LIBRARY='' \
ANSIBLE_FILTER_PLUGINS='' ANSIBLE_FILTER_PLUGINS='' \
ANSIBLE_LIBRARY='' ANSIBLE_CONFIG='' \
ANSIBLE_INVENTORY=$(pwd)/inventory.yaml ANSIBLE_INVENTORY=$(pwd)/inventory.yaml \
"ansible-$1" ${@:2} "ansible-$1" ${@:2}