summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-13 15:47:38 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-13 15:47:38 -0500
commit9bb9a9877420b0110c573226050d0766dd781618 (patch)
treebebe8cfc534c15d73e0c9e28ea4f2d87c443656a
parent204089c95b8fb784f7d936ed98ed73011da4b6b3 (diff)
parent01da79a94383566ce8477d9fe5b4d13650fc621a (diff)
downloadopenshift-9bb9a9877420b0110c573226050d0766dd781618.tar.gz
openshift-9bb9a9877420b0110c573226050d0766dd781618.tar.bz2
openshift-9bb9a9877420b0110c573226050d0766dd781618.tar.xz
openshift-9bb9a9877420b0110c573226050d0766dd781618.zip
Merge pull request #892 from abutcher/bz1280230
Update master facts prior to upgrading from 3.0 to 3.1
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml
index 78797f8b8..b6ca0c2bb 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml
+++ b/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml
@@ -161,6 +161,16 @@
local_facts:
deployment_type: "{{ deployment_type }}"
+- name: Update master facts
+ hosts: oo_masters_to_config
+ roles:
+ - openshift_facts
+ post_tasks:
+ - openshift_facts:
+ role: master
+ local_facts:
+ cluster_method: "{{ openshift_master_cluster_method | default(None) }}"
+
- name: Upgrade master packages and configuration
hosts: oo_masters_to_config
vars: