Merge "Retry fetching {{ deployment_uuid }}.notify.json file" into stable/train
This commit is contained in:
commit
d200546022
|
@ -185,6 +185,7 @@
|
||||||
- name: "Run deployment {{ item }}"
|
- name: "Run deployment {{ item }}"
|
||||||
shell: |
|
shell: |
|
||||||
/usr/libexec/os-refresh-config/configure.d/55-heat-config
|
/usr/libexec/os-refresh-config/configure.d/55-heat-config
|
||||||
|
timeout 20 bash -c -- 'while [ ! -f /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json ]; do sleep 1; done'
|
||||||
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json)
|
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json)
|
||||||
become: true
|
become: true
|
||||||
environment:
|
environment:
|
||||||
|
@ -196,6 +197,7 @@
|
||||||
- name: "Run async deployment {{ item }}"
|
- name: "Run async deployment {{ item }}"
|
||||||
shell: |
|
shell: |
|
||||||
/usr/libexec/os-refresh-config/configure.d/55-heat-config
|
/usr/libexec/os-refresh-config/configure.d/55-heat-config
|
||||||
|
timeout 20 bash -c -- 'while [ ! -f /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json ]; do sleep 1; done'
|
||||||
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json)
|
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json)
|
||||||
become: true
|
become: true
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue