File tree 1 file changed +2
-7
lines changed
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 14
14
env :
15
15
ANSIBLE_FORCE_COLOR : True
16
16
OS_CLOUD : openstack
17
- TF_VAR_cluster_name : ci${{ github.run_id }}
17
+ CI_CLUSTER_NAME : ci${{ github.run_id }}
18
18
CI_CLOUD : ${{ vars.CI_CLOUD }}
19
19
steps :
20
20
- uses : actions/checkout@v2
43
43
with :
44
44
terraform : v1.5.5
45
45
46
- - name : Initialise terraform
47
- run : terraform init
48
- working-directory : ${{ github.workspace }}/environments/.stackhpc/terraform
49
-
50
46
- name : Write clouds.yaml
51
47
run : |
52
48
mkdir -p ~/.config/openstack/
67
63
run : |
68
64
. venv/bin/activate
69
65
. environments/.stackhpc/activate
70
- cd $APPLIANCES_ENVIRONMENT_ROOT/terraform
71
- terraform apply -auto-approve -var-file="${{ vars.CI_CLOUD }}.tfvars"
66
+ ansible-playbook -v ansible/infra.yml -e terraform_autoapprove=true
72
67
73
68
- name : Delete infrastructure if provisioning failed
74
69
run : |
You can’t perform that action at this time.
0 commit comments