From 2ed0c0bab23f943f3303fa673d8fa443b1bc6e2f Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Sat, 30 Dec 2023 17:16:45 +0100 Subject: [PATCH] now accounting correctly for the custom collections path when running galaxy --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 61a5503..62e906f 100755 --- a/main.sh +++ b/main.sh @@ -53,7 +53,7 @@ fi echo "Installing needed Ansible packages..." -ansible-galaxy collection install --collections-path ansible/collections kewlfft.aur +ANSIBLE_COLLECTIONS_PATH="$PWD/ansible/collections" ansible-galaxy collection install --collections-path ansible/collections --requirements-file ansible/galaxy/requirements.yml echo "Done installing needed Ansible packages." echo "Running choosen Ansible Playbook at $choosen_playbook_path..."