Browse Source

Handle cases where the pacemaker variables aren't set

Brenton Leanhardt 9 years ago
parent
commit
f443be046b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml

@@ -38,7 +38,7 @@
       msg: >
         This upgrade does not support Pacemaker:
         https://docs.openshift.{{ g_pacemaker_upgrade_url_segment }}/install_config/upgrading/pacemaker_to_native_ha.html
-    when: openshift.master.cluster_method == 'pacemaker'
+    when: openshift.master.cluster_method is defined and openshift.master.cluster_method == 'pacemaker'
 
   - fail:
       msg: >