summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_group
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-11-08 18:20:46 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-11-29 21:22:39 -0500
commit6154f7d49847813dfdea9ad73aaaed86f18aa9de (patch)
tree50d571bb23627660e3f31854f513d9a044cc2178 /roles/openshift_node_group
parent6b6b422245be79dd3eec0c93a58875c646bbfba7 (diff)
downloadopenshift-6154f7d49847813dfdea9ad73aaaed86f18aa9de.tar.gz
openshift-6154f7d49847813dfdea9ad73aaaed86f18aa9de.tar.bz2
openshift-6154f7d49847813dfdea9ad73aaaed86f18aa9de.tar.xz
openshift-6154f7d49847813dfdea9ad73aaaed86f18aa9de.zip
Initial upgrade for scale groups.
Diffstat (limited to 'roles/openshift_node_group')
-rw-r--r--roles/openshift_node_group/tasks/create_config.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_node_group/tasks/create_config.yml b/roles/openshift_node_group/tasks/create_config.yml
index 02ec30a62..8b3218e7b 100644
--- a/roles/openshift_node_group/tasks/create_config.yml
+++ b/roles/openshift_node_group/tasks/create_config.yml
@@ -9,6 +9,7 @@
- name: debug node config
debug: var=configout
+ run_once: true
- when:
- configout.results.results.0 == {} or (configout.results.results.0 != {} and openshift_node_group_edits|length > 0)
@@ -24,6 +25,7 @@
dest: "{{ mktempout.stdout }}/node-config.yaml"
when:
- configout.results.results.0 == {}
+ run_once: true
- name: lay down the config from the existing configmap
copy:
@@ -31,6 +33,7 @@
dest: "{{ mktempout.stdout }}/node-config.yaml"
when:
- configout.results.results.0 != {}
+ run_once: true
- name: "specialize the generated configs for {{ openshift_node_group_name }}"
yedit:
@@ -42,6 +45,7 @@
run_once: true
- debug: var=yeditout
+ run_once: true
- name: create node-config.yaml configmap
oc_configmap: