summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-11-13 12:53:23 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-11-13 14:02:59 -0500
commit01da79a94383566ce8477d9fe5b4d13650fc621a (patch)
treec91c6ff5ad59a3169affce5d1d4ee4df787cc28b /playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml
parent8c91a881f135d4c1b62208b6ce44a29165edafc2 (diff)
downloadopenshift-01da79a94383566ce8477d9fe5b4d13650fc621a.tar.gz
openshift-01da79a94383566ce8477d9fe5b4d13650fc621a.tar.bz2
openshift-01da79a94383566ce8477d9fe5b4d13650fc621a.tar.xz
openshift-01da79a94383566ce8477d9fe5b4d13650fc621a.zip
Update master facts prior to upgrading incase facts are missing.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml')
-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: