summaryrefslogtreecommitdiffstats
path: root/roles/etcd/tasks/auxiliary/drop_etcdctl.yml
blob: cab835e208a4a7ca93ad60324224a92fceb863e4 (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_containerized | 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