Browse Source

Update master facts prior to upgrading incase facts are missing.

Andrew Butcher 9 years ago
parent
commit
01da79a943
1 changed files with 10 additions and 0 deletions
  1. 10 0
      playbooks/common/openshift-cluster/upgrades/v3_0_to_v3_1/upgrade.yml

+ 10 - 0
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: