Browse Source

Merge pull request #2081 from abutcher/BZ1171801

Bug 1348127 - [ansibe-2.1] Can't re-install/upgrade ha Environment 2 masters and 3 etcds
Scott Dodson 8 years ago
parent
commit
d5ab87f373
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml

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

@@ -266,7 +266,7 @@
 - name: Backup etcd
   hosts: etcd_hosts_to_backup
   vars:
-    embedded_etcd: "{{ openshift.master.embedded_etcd }}"
+    embedded_etcd: "{{ hostvars[groups.oo_first_master.0].openshift.master.embedded_etcd }}"
     timestamp: "{{ lookup('pipe', 'date +%Y%m%d%H%M%S') }}"
   roles:
   - openshift_facts