summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks
diff options
context:
space:
mode:
authorMark McKinstry <mmckinst@umich.edu>2017-03-08 10:54:50 -0800
committerMark McKinstry <mmckinst@umich.edu>2017-03-08 10:54:50 -0800
commit8c2ec1b18c777b4699316a8a60ff9c63845cc4d3 (patch)
tree0f3e8bc04d5a3a727d7786f2d302f19152ea8f11 /roles/etcd/tasks
parentb551ba3afbe6bf2b4888bd62dc0f5a837edadb67 (diff)
downloadopenshift-8c2ec1b18c777b4699316a8a60ff9c63845cc4d3.tar.gz
openshift-8c2ec1b18c777b4699316a8a60ff9c63845cc4d3.tar.bz2
openshift-8c2ec1b18c777b4699316a8a60ff9c63845cc4d3.tar.xz
openshift-8c2ec1b18c777b4699316a8a60ff9c63845cc4d3.zip
add ability to specify an etcd version
Diffstat (limited to 'roles/etcd/tasks')
-rw-r--r--roles/etcd/tasks/etcdctl.yml2
-rw-r--r--roles/etcd/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/etcd/tasks/etcdctl.yml b/roles/etcd/tasks/etcdctl.yml
index bb6fabf64..649ad23c1 100644
--- a/roles/etcd/tasks/etcdctl.yml
+++ b/roles/etcd/tasks/etcdctl.yml
@@ -1,6 +1,6 @@
---
- name: Install etcd for etcdctl
- package: name=etcd state=present
+ package: name=etcd{{ '-' + etcd_version if etcd_version is defined else '' }} state=present
when: not openshift.common.is_atomic | bool
- name: Configure etcd profile.d alises
diff --git a/roles/etcd/tasks/main.yml b/roles/etcd/tasks/main.yml
index b4ffc99e3..c09da3b61 100644
--- a/roles/etcd/tasks/main.yml
+++ b/roles/etcd/tasks/main.yml
@@ -7,7 +7,7 @@
etcd_ip: "{{ etcd_ip }}"
- name: Install etcd
- package: name=etcd state=present
+ package: name=etcd{{ '-' + etcd_version if etcd_version is defined else '' }} state=present
when: not etcd_is_containerized | bool
- name: Pull etcd container