summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-11-06 15:47:54 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-11-06 15:47:54 -0500
commitaa0746600ed64b2b2f61eb83f634bccdfa4c5be2 (patch)
treea24e8fcc383735ceb801e0ac7369a7b2a61d72f3 /roles/openshift_master
parente1aa8fb073349f44cc9b3f2b6133969b01f63c5b (diff)
downloadopenshift-aa0746600ed64b2b2f61eb83f634bccdfa4c5be2.tar.gz
openshift-aa0746600ed64b2b2f61eb83f634bccdfa4c5be2.tar.bz2
openshift-aa0746600ed64b2b2f61eb83f634bccdfa4c5be2.tar.xz
openshift-aa0746600ed64b2b2f61eb83f634bccdfa4c5be2.zip
Missing conditionals for api/controller sysconfig.
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 35570923c..185bfb8f3 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -207,6 +207,7 @@
line: "OPTIONS=--loglevel={{ openshift.master.debug_level }} --listen=https://0.0.0.0:8443 --master=https://{{ openshift.common.ip }}:8443"
- regex: '^CONFIG_FILE='
line: "CONFIG_FILE={{ openshift_master_config_file }}"
+ when: openshift_master_ha | bool and openshift_master_cluster_method == "native"
notify:
- restart master api
@@ -220,6 +221,7 @@
line: "OPTIONS=--loglevel={{ openshift.master.debug_level }} --listen=https://0.0.0.0:8444"
- regex: '^CONFIG_FILE='
line: "CONFIG_FILE={{ openshift_master_config_file }}"
+ when: openshift_master_ha | bool and openshift_master_cluster_method == "native"
notify:
- restart master controllers