Merge "Swap the order of stdout and stderr in debug output"
This commit is contained in:
commit
fa79c09ee5
@ -24,7 +24,7 @@
|
||||
failed_when: false
|
||||
no_log: true
|
||||
become: 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]
|
||||
######################################
|
||||
@ -43,7 +43,7 @@
|
||||
failed_when: false
|
||||
no_log: true
|
||||
become: 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
|
||||
##################################################
|
||||
@ -69,7 +69,7 @@
|
||||
failed_when: false
|
||||
no_log: true
|
||||
become: 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
|
||||
########################################################
|
||||
@ -94,6 +94,6 @@
|
||||
failed_when: false
|
||||
no_log: true
|
||||
become: 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
Block a user