summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/handlers
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-08-26 17:07:06 -0400
committerAndrew Butcher <abutcher@redhat.com>2015-11-04 19:57:22 -0500
commita6dd87452379403704fb5cd1d8647ef3cf978e28 (patch)
tree596ef9a4e3352749752ca6af62a5295defe879cd /roles/openshift_master/handlers
parent16e085b44ba3e3328ec7d8a5dd5e2331c7f633a6 (diff)
downloadopenshift-a6dd87452379403704fb5cd1d8647ef3cf978e28.tar.gz
openshift-a6dd87452379403704fb5cd1d8647ef3cf978e28.tar.bz2
openshift-a6dd87452379403704fb5cd1d8647ef3cf978e28.tar.xz
openshift-a6dd87452379403704fb5cd1d8647ef3cf978e28.zip
fix dueling controllers - without controllerLeaseTTL set in config, multiple controllers will attempt to start
Diffstat (limited to 'roles/openshift_master/handlers')
-rw-r--r--roles/openshift_master/handlers/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_master/handlers/main.yml b/roles/openshift_master/handlers/main.yml
index 9ce4f512b..ad3ac5a9f 100644
--- a/roles/openshift_master/handlers/main.yml
+++ b/roles/openshift_master/handlers/main.yml
@@ -7,6 +7,8 @@
service: name={{ openshift.common.service_type }}-master-api state=restarted
when: openshift_master_ha | bool
+# TODO: need to fix up ignore_errors here
- name: restart master controllers
service: name={{ openshift.common.service_type }}-master-controllers state=restarted
when: openshift_master_ha | bool
+ ignore_errors: yes