Merge "Swap the order of stdout and stderr in debug output" into stable/pike
This commit is contained in:
commit
f078878a18
|
@ -1,6 +1,6 @@
|
|||
# Note the indentation here is required as it's joined
|
||||
# to create a playbook in deploy-steps.j2
|
||||
|
||||
|
||||
#####################################################
|
||||
# Per step puppet configuration of the baremetal host
|
||||
#####################################################
|
||||
|
@ -22,7 +22,7 @@
|
|||
register: outputs
|
||||
failed_when: false
|
||||
no_log: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
- debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([]))
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc not in [0, 2]
|
||||
######################################
|
||||
|
@ -40,7 +40,7 @@
|
|||
register: outputs
|
||||
failed_when: false
|
||||
no_log: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
- debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([]))
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc != 0
|
||||
##################################################
|
||||
|
@ -64,7 +64,7 @@
|
|||
register: outputs
|
||||
failed_when: false
|
||||
no_log: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
- debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([]))
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc != 0
|
||||
########################################################
|
||||
|
@ -87,6 +87,6 @@
|
|||
register: outputs
|
||||
failed_when: false
|
||||
no_log: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
- debug: var=outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([]))
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc != 0
|
||||
|
|
Loading…
Reference in New Issue