From 5d61a071eda06421fdb28cc3f312a8d4b8d45fa5 Mon Sep 17 00:00:00 2001 From: Suraj Patil Date: Tue, 2 Nov 2021 09:57:47 +0000 Subject: [PATCH] Fixes ansible role_path in 00_setup.sh Closes: 663 Change-Id: Ia1c2b0186355058896c996325776b6554d49ca9d --- tools/gate/00_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gate/00_setup.sh b/tools/gate/00_setup.sh index a70654af3..1c6b51d6a 100755 --- a/tools/gate/00_setup.sh +++ b/tools/gate/00_setup.sh @@ -45,7 +45,7 @@ else fi # zuul-jobs provides ensure-docker role available by default in zuul -ansible-galaxy install git+https://opendev.org/zuul/zuul-jobs.git -p "${AIRSHIPCTL_WS}/../zuul-jobs" +ansible-galaxy install git+https://opendev.org/zuul/zuul-jobs.git -p "${AIRSHIPCTL_WS}/../" echo "primary ansible_host=localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python3" > "$ANSIBLE_HOSTS" -printf "[defaults]\nroles_path = %s/roles:zuul-jobs/roles\n" "$AIRSHIPCTL_WS" > "$ANSIBLE_CFG" +printf "[defaults]\nroles_path = %s/roles:%s/../zuul-jobs/zuul-jobs/roles\n" "$AIRSHIPCTL_WS" "$AIRSHIPCTL_WS" > "$ANSIBLE_CFG"