From 80c3565fa11a927c46192ec6cb84372ff3caada6 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Mon, 20 Dec 2021 18:38:44 -0500 Subject: [PATCH] Update ansible script to use local collections path --- ansible | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ansible b/ansible index 3e56e33..7a5ebe5 100755 --- a/ansible +++ b/ansible @@ -1,7 +1,5 @@ #!/usr/bin/env bash -ANSIBLE_LIBRARY='' \ - ANSIBLE_FILTER_PLUGINS='' \ - ANSIBLE_CONFIG='' \ +ANSIBLE_COLLECTIONS_PATH=$(pwd)/.ansible \ ANSIBLE_INVENTORY=$(pwd)/inventory.yaml \ - "ansible-$1" ${@:2} + "ansible-$1" "${@:2}"