summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks/etcdctl.yml
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-03-31 13:31:42 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-04-28 09:59:11 +0200
commitc9688b8571500878d10632740d14b4b9fb9dcc7f (patch)
tree504d1db512112769cb9ee787513e2f6db526416f /roles/etcd/tasks/etcdctl.yml
parentee21913b9b1d82965abeaa7fe84e54c46201cc49 (diff)
downloadopenshift-c9688b8571500878d10632740d14b4b9fb9dcc7f.tar.gz
openshift-c9688b8571500878d10632740d14b4b9fb9dcc7f.tar.bz2
openshift-c9688b8571500878d10632740d14b4b9fb9dcc7f.tar.xz
openshift-c9688b8571500878d10632740d14b4b9fb9dcc7f.zip
Refactor etcd roles
- introduce block and simplify when conditions - introduce config.yml so the self-standing etcd role can be run (e.g. to test etcd cluster deployment) - remove empty task files - skip dependency on openshift_etcd_ca - replace cert paths with their appropriate variables
Diffstat (limited to 'roles/etcd/tasks/etcdctl.yml')
-rw-r--r--roles/etcd/tasks/etcdctl.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/etcd/tasks/etcdctl.yml b/roles/etcd/tasks/etcdctl.yml
index 649ad23c1..6cb456677 100644
--- a/roles/etcd/tasks/etcdctl.yml
+++ b/roles/etcd/tasks/etcdctl.yml
@@ -4,9 +4,9 @@
when: not openshift.common.is_atomic | bool
- name: Configure etcd profile.d alises
- copy:
- src: etcdctl.sh
- dest: /etc/profile.d/etcdctl.sh
+ template:
+ dest: "/etc/profile.d/etcdctl.sh"
+ src: etcdctl.sh.j2
mode: 0755
owner: root
group: root