Fix role not found when running locally

This Commit fixes role not found issue when running script
20_run_gate_runner.sh

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Ic671cf04f30ae9647b052ce31f2ca76fb80043cf
This commit is contained in:
Sreejith Punnapuzha 2021-02-22 10:03:24 -06:00
parent 43698482ab
commit 879c93bad2
1 changed files with 1 additions and 1 deletions

View File

@ -25,6 +25,6 @@ PLAYBOOK_CONFIG=${PLAYBOOK_CONFIG:-"${TMP_DIR}/config.yaml"}
export AIRSHIPCTL_WS=${AIRSHIPCTL_WS:-$PWD}
export AIRSHIP_CONFIG_PHASE_REPO_URL=${AIRSHIP_CONFIG_PHASE_REPO_URL:-$PWD}
sudo --preserve-env=AIRSHIPCTL_WS ANSIBLE_STDOUT_CALLBACK=debug ansible-playbook -i "$ANSIBLE_HOSTS" \
sudo -E --preserve-env=AIRSHIPCTL_WS ANSIBLE_STDOUT_CALLBACK=debug ansible-playbook -i "$ANSIBLE_HOSTS" \
playbooks/airshipctl-gate-runner.yaml \
-e @"$PLAYBOOK_CONFIG" -v