summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/handlers
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-11-16 15:49:17 -0500
committerRussell Teague <rteague@redhat.com>2017-12-05 14:02:23 -0500
commit259272fa2359fd4d3bd78291bd0b06a1261c4b01 (patch)
treed8ea0b2afe7df6c400160c7b2f3870f9e44bc6a8 /roles/openshift_metrics/handlers
parent968f614e984da91a4e883a9642af8e66d49d87a0 (diff)
downloadopenshift-259272fa2359fd4d3bd78291bd0b06a1261c4b01.tar.gz
openshift-259272fa2359fd4d3bd78291bd0b06a1261c4b01.tar.bz2
openshift-259272fa2359fd4d3bd78291bd0b06a1261c4b01.tar.xz
openshift-259272fa2359fd4d3bd78291bd0b06a1261c4b01.zip
Remove all references to pacemaker (pcs, pcsd) and openshift.master.cluster_method.
With pacemaker removed there is no longer a need for openshift.master.cluster_method. We only have one option.
Diffstat (limited to 'roles/openshift_metrics/handlers')
-rw-r--r--roles/openshift_metrics/handlers/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_metrics/handlers/main.yml b/roles/openshift_metrics/handlers/main.yml
index 074b72942..e0329ee7c 100644
--- a/roles/openshift_metrics/handlers/main.yml
+++ b/roles/openshift_metrics/handlers/main.yml
@@ -1,7 +1,7 @@
---
- name: restart master api
systemd: name={{ openshift.common.service_type }}-master-api state=restarted
- when: (not (master_api_service_status_changed | default(false) | bool)) and openshift.master.cluster_method == 'native'
+ when: (not (master_api_service_status_changed | default(false) | bool))
notify: Verify API Server
# We retry the controllers because the API may not be 100% initialized yet.
@@ -11,7 +11,7 @@
delay: 5
register: result
until: result.rc == 0
- when: (not (master_controllers_service_status_changed | default(false) | bool)) and openshift.master.cluster_method == 'native'
+ when: (not (master_controllers_service_status_changed | default(false) | bool))
- name: Verify API Server
# Using curl here since the uri module requires python-httplib2 and