Add a second test in the pre script for jump compat

This commit is contained in:
Salt 2022-02-15 14:28:27 -06:00
parent f114c22012
commit 7762372c41

View File

@ -31,8 +31,10 @@ before_script:
zerotier-cli listnetworks zerotier-cli listnetworks
# Get ready for execution # Get ready for execution
- ansible-galaxy install -r requirements.yml - ansible-galaxy install -r requirements.yml
# And run a quick test SSH connection to the bastion box # Run a quick test SSH connection to the bastion box
- ssh -o StrictHostKeyChecking=no ansible@bastion1.dallas.mgmt.desu.ltd uptime - ssh -o StrictHostKeyChecking=no ansible@bastion1.dallas.mgmt.desu.ltd uptime
# And a quick test SSH connection over proxy
- ssh -o StrictHostKeyChecking=no -o ProxyCommand="ssh -W %h:%p -q ansible@bastion1.dallas.mgmt.desu.ltd" bastion1.dallas.mgmt.desu.ltd uptime
after_script: after_script:
- | - |
[ -n "$ZEROTIER_NETWORK_ID" ] && \ [ -n "$ZEROTIER_NETWORK_ID" ] && \