summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks/auxiliary/drop_etcdctl.yml
blob: 603f2531f3aafe122724cf15ca1f9356bfcaf681 (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.common.is_atomic | bool
  register: result
  until: result | success

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