Merge "Fix reference to undefined variables when heat-config times out" into stable/train

This commit is contained in:
Zuul 2022-06-07 06:34:41 +00:00 committed by Gerrit Code Review
commit f99f87a0e6
1 changed files with 3 additions and 3 deletions

View File

@ -193,11 +193,11 @@
- name: "Output for async deployment {{ item }}"
debug:
msg:
- stderr: "{{ deployment_async_result.stderr.split('\n') }}"
- status_code: "{{ deployment_async_result.rc }}"
- stderr: "{{ deployment_async_result.stderr_lines | default(['Timed out']) }}"
- status_code: "{{ deployment_async_result.rc | default(-1) }}"
tags:
- output
failed_when: deployment_async_result.rc != 0
failed_when: deployment_async_result.rc | default(-1) != 0
when: not ansible_check_mode|bool
- name: "Check-mode for Run deployment {{ item }} (changed status indicates deployment would run)"