Ignore errors when checking result of previous deployments
This always should have been ignore_errors:true, as we don't want to fail when checking the result of the previous deployment. Instead, we want to use the result as a trigger as to whether or not we should re-run the deployment. Change-Id: I6b75ea2a6096e152d7f01853de5da59cccc8e9ec
This commit is contained in:
parent
a5efcbf844
commit
4dd9a779eb
@ -17,7 +17,7 @@
|
||||
shell: |
|
||||
exit $(jq .deploy_status_code /var/lib/heat-config/deployed/{{ deployment_uuid }}.notify.json)
|
||||
register: previous_deployment_result
|
||||
ignore_errors: false
|
||||
ignore_errors: true
|
||||
when: deployed_file_stat.stat.exists
|
||||
|
||||
- name: "Remove deployed file for {{ item }} when previous deployment failed"
|
||||
|
Loading…
Reference in New Issue
Block a user