diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-03-31 13:31:42 +0200 |
---|---|---|
committer | Jan Chaloupka <jchaloup@redhat.com> | 2017-04-28 09:59:11 +0200 |
commit | c9688b8571500878d10632740d14b4b9fb9dcc7f (patch) | |
tree | 504d1db512112769cb9ee787513e2f6db526416f /roles/etcd/tasks/etcdctl.yml | |
parent | ee21913b9b1d82965abeaa7fe84e54c46201cc49 (diff) | |
download | openshift-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.yml | 6 |
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 |