Skip no-auto tags when doing tests before CI runs

This commit is contained in:
Salt 2022-03-08 13:53:33 -06:00
parent 367c453f7b
commit 9956821268

View File

@ -56,7 +56,7 @@ Test:
except:
- pipelines
script:
- ansible-playbook --skip-tags no-test -C site.yml --ssh-common-args='-o ProxyCommand="ssh -W %h:%p -q ansible@bastion1.dallas.mgmt.desu.ltd"' --vault-password-file /vaultpw || error="$?"
- ansible-playbook --skip-tags no-test,no-auto -C site.yml --ssh-common-args='-o ProxyCommand="ssh -W %h:%p -q ansible@bastion1.dallas.mgmt.desu.ltd"' --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