Adding some debugging info to the home pipeline

This commit is contained in:
Salt 2022-02-15 13:59:30 -06:00
parent 4a73e8782f
commit 9dddfa65c6

View File

@ -64,6 +64,6 @@ Play_Against_Home:
stage: play
retry: 1
script:
- ansible-playbook -l tags_home site.yml --ssh-common-args="$SSH_BASTION_ARGS" --vault-password-file /vaultpw || error="$?"
- ansible-playbook -vvv -l tags_home site.yml --ssh-common-args="$SSH_BASTION_ARGS" --vault-password-file /vaultpw || error="$?"
- if [ "$error" -eq 4 ]; then echo "Some hosts were unreachable; masking error"; unset error; fi
- if [ -n "$error" ]; then echo "Return code $error"; false; fi