summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_group
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-01 15:28:49 -0500
committerGitHub <noreply@github.com>2017-12-01 15:28:49 -0500
commit7adf84ed20d2e5feb9b728f7047017179b6dfcee (patch)
tree02f002872c2457e7ca4667a2103f7e4ebbcd4869 /roles/openshift_node_group
parente0e10698184c9a7cf4bf65787771686e46d26603 (diff)
parent6154f7d49847813dfdea9ad73aaaed86f18aa9de (diff)
downloadopenshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.tar.gz
openshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.tar.bz2
openshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.tar.xz
openshift-7adf84ed20d2e5feb9b728f7047017179b6dfcee.zip
Merge pull request #6069 from kwoodson/upgrade_scale_groups
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: