diff options
author | Andrew Butcher <abutcher@redhat.com> | 2015-09-22 16:42:36 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2015-11-05 11:38:27 -0500 |
commit | ca9f4f08fbf14f9edfa7331e327cf92a25cd4401 (patch) | |
tree | 1be3bf26a63c9b20012717e0da8bf6fea2720ae7 /roles/openshift_master_cluster | |
parent | 6571fd9d220b7cc67ae5738149164104d5662902 (diff) | |
download | openshift-ca9f4f08fbf14f9edfa7331e327cf92a25cd4401.tar.gz openshift-ca9f4f08fbf14f9edfa7331e327cf92a25cd4401.tar.bz2 openshift-ca9f4f08fbf14f9edfa7331e327cf92a25cd4401.tar.xz openshift-ca9f4f08fbf14f9edfa7331e327cf92a25cd4401.zip |
Various HA changes for pacemaker and native methods.
Diffstat (limited to 'roles/openshift_master_cluster')
-rw-r--r-- | roles/openshift_master_cluster/tasks/configure_deferred.yml | 8 | ||||
-rw-r--r-- | roles/openshift_master_cluster/tasks/main.yml | 5 |
2 files changed, 1 insertions, 12 deletions
diff --git a/roles/openshift_master_cluster/tasks/configure_deferred.yml b/roles/openshift_master_cluster/tasks/configure_deferred.yml deleted file mode 100644 index 3b416005b..000000000 --- a/roles/openshift_master_cluster/tasks/configure_deferred.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- debug: msg="Deferring config" - -- name: Start and enable the master - service: - name: "{{ openshift.common.service_type }}-master" - state: started - enabled: yes diff --git a/roles/openshift_master_cluster/tasks/main.yml b/roles/openshift_master_cluster/tasks/main.yml index 315947183..6303a6e46 100644 --- a/roles/openshift_master_cluster/tasks/main.yml +++ b/roles/openshift_master_cluster/tasks/main.yml @@ -4,10 +4,7 @@ register: pcs_status changed_when: false failed_when: false - when: not openshift.master.cluster_defer_ha | bool + when: openshift.master.cluster_method == "pacemaker" - include: configure.yml when: "pcs_status | failed and 'Error: cluster is not currently running on this node' in pcs_status.stderr" - -- include: configure_deferred.yml - when: openshift.master.cluster_defer_ha | bool |