Browse Source

Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api and atomic-openshift-master-controllers

Brenton Leanhardt 9 years ago
parent
commit
9d9fa3715e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml

+ 5 - 0
playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml

@@ -70,6 +70,11 @@
       state: started
       enabled: yes
     when: openshift.master.ha is defined and openshift.master.ha | bool and openshift.common.is_containerized | bool
+  post_tasks:
+  - openshift_facts:
+      role: master
+      local_facts:
+        ha: "{{ groups.oo_masters_to_config | length > 1 }}"
 
 - name: Verify upgrade can proceed
   hosts: oo_nodes_to_config