diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-07 15:09:09 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-12 14:12:42 -0400 |
commit | f443be046bdd69db223f8ba5ec6c13636f66c52f (patch) | |
tree | c1bae6255c64ec3d6d81f046c04ee63acfbfa8f4 /playbooks/common/openshift-cluster/upgrades | |
parent | 477f04a7a9846579d2bc86d9c260d9849f593961 (diff) | |
download | openshift-f443be046bdd69db223f8ba5ec6c13636f66c52f.tar.gz openshift-f443be046bdd69db223f8ba5ec6c13636f66c52f.tar.bz2 openshift-f443be046bdd69db223f8ba5ec6c13636f66c52f.tar.xz openshift-f443be046bdd69db223f8ba5ec6c13636f66c52f.zip |
Handle cases where the pacemaker variables aren't set
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml index 47f22c4e8..7e3253d8f 100644 --- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml +++ b/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: > |