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:
parent
43698482ab
commit
879c93bad2
@ -25,6 +25,6 @@ PLAYBOOK_CONFIG=${PLAYBOOK_CONFIG:-"${TMP_DIR}/config.yaml"}
|
|||||||
export AIRSHIPCTL_WS=${AIRSHIPCTL_WS:-$PWD}
|
export AIRSHIPCTL_WS=${AIRSHIPCTL_WS:-$PWD}
|
||||||
export AIRSHIP_CONFIG_PHASE_REPO_URL=${AIRSHIP_CONFIG_PHASE_REPO_URL:-$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 \
|
playbooks/airshipctl-gate-runner.yaml \
|
||||||
-e @"$PLAYBOOK_CONFIG" -v
|
-e @"$PLAYBOOK_CONFIG" -v
|
||||||
|
Loading…
Reference in New Issue
Block a user