summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks/auxiliary/drop_etcdctl.yml
blob: 881a8c270f32d3f6981da6651ba971ce748be457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Install etcd for etcdctl
  package: name=etcd{{ '-' + etcd_version if etcd_version is defined else '' }} state=present
  when: not openshift_is_atomic | bool
  register: result
  until: result is succeeded

- name: Configure etcd profile.d aliases
  template:
    dest: "/etc/profile.d/etcdctl.sh"
    src: etcdctl.sh.j2
    mode: 0755
    owner: root
    group: root