Use ara during gitlab ci plays

This commit is contained in:
Salt 2022-04-23 11:10:49 -05:00
parent 61e96a258f
commit 198d35158b

View File

@ -2,6 +2,8 @@ image: rehashedsalt/ansible-env:bleeding
variables: variables:
ANSIBLE_INVENTORY: inventories/production-no-auto ANSIBLE_INVENTORY: inventories/production-no-auto
ANSIBLE_STRATEGY: free ANSIBLE_STRATEGY: free
ARA_API_CLIENT: http
ARA_API_SERVER: "https://ara.desu.ltd"
stages: stages:
- lint - lint
- test - test
@ -31,6 +33,8 @@ 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
# Set up our callback plugins
- source <(python3 -m ara.setup.env)
# 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 # And a quick test SSH connection over proxy