summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-11-28 16:22:00 -0500
committerGitHub <noreply@github.com>2016-11-28 16:22:00 -0500
commit9953d2502119a9669241e7596e3a643cbbc271ed (patch)
tree67c3d370cbe68c7e6efa1330e0cfcca451eb7a4f /playbooks/common
parent420e6f1359818187e3bb409fe8bc93759c86883a (diff)
parent6d48f9f72d47824e4c7a5dd3d358a5ba2cf62b9b (diff)
downloadopenshift-9953d2502119a9669241e7596e3a643cbbc271ed.tar.gz
openshift-9953d2502119a9669241e7596e3a643cbbc271ed.tar.bz2
openshift-9953d2502119a9669241e7596e3a643cbbc271ed.tar.xz
openshift-9953d2502119a9669241e7596e3a643cbbc271ed.zip
Merge pull request #2872 from dgoodwin/etcd-embedded-backup
Fix invalid embedded etcd fact in etcd upgrade playbook.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/etcd/backup.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml b/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
index 57d4fe4b6..b7f0267c1 100644
--- a/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
+++ b/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
@@ -1,7 +1,7 @@
- name: Backup etcd
hosts: etcd_hosts_to_backup
vars:
- embedded_etcd: "{{ hostvars[groups.oo_first_master.0].openshift.master.embedded_etcd }}"
+ embedded_etcd: "{{ groups.oo_etcd_to_config | default([]) | length == 0 }}"
timestamp: "{{ lookup('pipe', 'date +%Y%m%d%H%M%S') }}"
roles:
- openshift_facts