File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,11 @@ jobs:
2020 if : github.repository == 'stackhpc/caas-slurm-appliance'
2121 concurrency : ${{ github.ref }}
2222 runs-on : ubuntu-20.04
23- environment :
24- name : arcus
2523 env :
2624 ANSIBLE_FORCE_COLOR : True
2725 OS_CLOUD : openstack
2826 OS_CLIENT_CONFIG_FILE : ${{ github.workspace }}/clouds.yaml
27+ EXTRA_VARS_FILE : .github/extra_vars/arcus.yml
2928 steps :
3029 - uses : actions/checkout@v2
3130
4544 source venv/bin/activate
4645 ansible-playbook \
4746 -i image-build/hosts \
48- -e @.github/extra_vars/${{ inputs.environment }}.yml \
47+ -e @${EXTRA_VARS_FILE} \
4948 -e '{"write_cluster_image_uuid_file": true}' \
5049 image-build.yml
5150 echo "CLUSTER_IMAGE=$(cat cluster_image_uuid.txt)" >> $GITHUB_OUTPUT
5756 source venv/bin/activate
5857 ansible-playbook \
5958 -i image-build/hosts \
60- -e @.github/extra_vars/${{ inputs.environment }}.yml \
59+ -e @${EXTRA_VARS_FILE} \
6160 -e cluster_state=absent \
6261 image-build.yml
6362 if : always()
6867 source venv/bin/activate
6968 ansible-playbook \
7069 -i image-build/hosts \
71- -e @.github/extra_vars/${{ inputs.environment }}.yml \
70+ -e @${EXTRA_VARS_FILE} \
7271 -e cluster_image=${{ steps.build.outputs.CLUSTER_IMAGE }} \
7372 slurm-infra.yml
7473 if : success()
7877 source venv/bin/activate
7978 ansible-playbook \
8079 -i image-build/hosts \
81- -e @.github/extra_vars/${{ inputs.environment }}.yml \
80+ -e @${EXTRA_VARS_FILE} \
8281 -e cluster_image=${{ steps.build.outputs.CLUSTER_IMAGE }} \
8382 -e cluster_state=absent \
8483 slurm-infra.yml
You can’t perform that action at this time.
0 commit comments