summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-06-24 11:02:35 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-06-24 11:02:59 -0400
commit599c4c5becf93ba6addac5776668a62c0df41198 (patch)
tree2ed876b8e2bb5f086bd0a4a7b64bfade603bf482 /playbooks/common/openshift-cluster/upgrades
parent8256f836bae722f22564a6dc69ad2f9f52c84ed1 (diff)
downloadopenshift-599c4c5becf93ba6addac5776668a62c0df41198.tar.gz
openshift-599c4c5becf93ba6addac5776668a62c0df41198.tar.bz2
openshift-599c4c5becf93ba6addac5776668a62c0df41198.tar.xz
openshift-599c4c5becf93ba6addac5776668a62c0df41198.zip
Access embedded_etcd variable from oo_first_master hostvars.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml b/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
index 27b3ece96..6aff518ce 100644
--- a/playbooks/common/openshift-cluster/upgrades/v3_1_to_v3_2/pre.yml
+++ b/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