Merge "Swap the order of stdout and stderr in debug output" into stable/pike
This commit is contained in:
commit
f078878a18
|
@ -22,7 +22,7 @@
|
||||||
register: outputs
|
register: outputs
|
||||||
failed_when: false
|
failed_when: false
|
||||||
no_log: true
|
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
|
when: outputs.rc is defined
|
||||||
failed_when: outputs.rc not in [0, 2]
|
failed_when: outputs.rc not in [0, 2]
|
||||||
######################################
|
######################################
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
register: outputs
|
register: outputs
|
||||||
failed_when: false
|
failed_when: false
|
||||||
no_log: true
|
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
|
when: outputs.rc is defined
|
||||||
failed_when: outputs.rc != 0
|
failed_when: outputs.rc != 0
|
||||||
##################################################
|
##################################################
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
register: outputs
|
register: outputs
|
||||||
failed_when: false
|
failed_when: false
|
||||||
no_log: true
|
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
|
when: outputs.rc is defined
|
||||||
failed_when: outputs.rc != 0
|
failed_when: outputs.rc != 0
|
||||||
########################################################
|
########################################################
|
||||||
|
@ -87,6 +87,6 @@
|
||||||
register: outputs
|
register: outputs
|
||||||
failed_when: false
|
failed_when: false
|
||||||
no_log: true
|
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
|
when: outputs.rc is defined
|
||||||
failed_when: outputs.rc != 0
|
failed_when: outputs.rc != 0
|
||||||
|
|
Loading…
Reference in New Issue