From 01da79a94383566ce8477d9fe5b4d13650fc621a Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Fri, 13 Nov 2015 12:53:23 -0500 Subject: Update master facts prior to upgrading incase facts are missing. --- .../common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'playbooks') 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: -- cgit v1.2.3