Merge "Fix all outputs|failed and outputs is defined"
This commit is contained in:
commit
bdc1697af5
|
@ -25,7 +25,7 @@
|
|||
no_log: true
|
||||
become: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
when: outputs is defined
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc not in [0, 2]
|
||||
######################################
|
||||
# Generate config via docker-puppet.py
|
||||
|
@ -44,8 +44,8 @@
|
|||
no_log: true
|
||||
become: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
when: outputs is defined
|
||||
failed_when: outputs|failed
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc != 0
|
||||
##################################################
|
||||
# Per step starting of the containers using paunch
|
||||
##################################################
|
||||
|
@ -70,8 +70,8 @@
|
|||
no_log: true
|
||||
become: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
when: outputs is defined
|
||||
failed_when: outputs|failed
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc != 0
|
||||
########################################################
|
||||
# Bootstrap tasks, only performed on bootstrap_server_id
|
||||
########################################################
|
||||
|
@ -95,5 +95,5 @@
|
|||
no_log: true
|
||||
become: true
|
||||
- debug: var=(outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
when: outputs is defined
|
||||
failed_when: outputs|failed
|
||||
when: outputs.rc is defined
|
||||
failed_when: outputs.rc != 0
|
||||
|
|
|
@ -163,5 +163,5 @@ outputs:
|
|||
- name: print kubespray outputs
|
||||
debug:
|
||||
var: (outputs.stderr|default('')).split('\n')|union(outputs.stdout_lines|default([]))
|
||||
failed_when: outputs|failed
|
||||
when: outputs is defined
|
||||
failed_when: outputs.rc != 0
|
||||
when: outputs.rc is defined
|
||||
|
|
Loading…
Reference in New Issue