summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-12-06 17:26:11 -0500
committerScott Dodson <sdodson@redhat.com>2016-12-06 17:26:11 -0500
commited7b94c19eca79182f7743f2ecab64abf65e2167 (patch)
treec02f83a4737b6efb415e8dec61308c64c7f74099 /playbooks
parent2bf56ae7c60377ef59f3971b66dae2e492efbbe3 (diff)
downloadopenshift-ed7b94c19eca79182f7743f2ecab64abf65e2167.tar.gz
openshift-ed7b94c19eca79182f7743f2ecab64abf65e2167.tar.bz2
openshift-ed7b94c19eca79182f7743f2ecab64abf65e2167.tar.xz
openshift-ed7b94c19eca79182f7743f2ecab64abf65e2167.zip
Always install latest etcd for containerized hosts
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/etcd/backup.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml b/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
index b7f0267c1..cfb273b82 100644
--- a/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
+++ b/playbooks/common/openshift-cluster/upgrades/etcd/backup.yml
@@ -41,9 +41,11 @@
{{ avail_disk.stdout }} Kb available.
when: (embedded_etcd | bool) and (etcd_disk_usage.stdout|int > avail_disk.stdout|int)
- - name: Install etcd (for etcdctl)
- package: name=etcd state=present
- when: not openshift.common.is_atomic | bool
+ # for non containerized etcd is already installed, don't touch it, but for containerized
+ # but not atomic always get the latest
+ - name: Install latest text for containerized but not atomic
+ package: name=etcd state=latest
+ when: not openshift.common.is_atomic | bool and openshift.common.is_containerized
- name: Generate etcd backup
command: >