Update ansible script to use local collections path

This commit is contained in:
Ethan Paul 2021-12-20 18:38:44 -05:00
parent fe0fc835cd
commit 80c3565fa1
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A

View File

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