|
@@ -13,7 +13,7 @@
|
|
|
run_once: true
|
|
|
|
|
|
- when:
|
|
|
- - configout.results.results.0 == {} or (configout.results.results.0 != {} and openshift_node_group_edits|length > 0)
|
|
|
+ - configout.results.results.0 == {} or (configout.results.results.0 != {} and (openshift_node_group_edits|length > 0 or openshift_node_group_labels|length > 0))
|
|
|
block:
|
|
|
- name: create a temp dir for this work
|
|
|
command: mktemp -d /tmp/openshift_node_config-XXXXXX
|
|
@@ -42,7 +42,6 @@
|
|
|
src: "{{ mktempout.stdout }}/node-config.yaml"
|
|
|
edits: "{{ openshift_node_group_edits | union(openshift_node_labels_edit) }}"
|
|
|
register: yeditout
|
|
|
- when: openshift_node_group_edits|length > 0
|
|
|
run_once: true
|
|
|
|
|
|
- name: show the yeditout debug var
|