2016-01-19 22:23:19 +08:00
|
|
|
---
|
2020-03-24 23:12:47 +08:00
|
|
|
- import_tasks: install_etcdctl_docker.yml
|
2018-04-02 00:58:08 +08:00
|
|
|
when: etcd_cluster_setup
|
2018-02-13 00:34:01 +08:00
|
|
|
|
|
|
|
- name: Install etcd launch script
|
|
|
|
template:
|
|
|
|
src: etcd.j2
|
|
|
|
dest: "{{ bin_dir }}/etcd"
|
|
|
|
owner: 'root'
|
2018-04-02 00:58:08 +08:00
|
|
|
mode: 0750
|
2018-02-13 00:34:01 +08:00
|
|
|
backup: yes
|
2018-04-02 00:58:08 +08:00
|
|
|
when: etcd_cluster_setup
|
2018-03-01 16:39:14 +08:00
|
|
|
|
|
|
|
- name: Install etcd-events launch script
|
|
|
|
template:
|
|
|
|
src: etcd-events.j2
|
|
|
|
dest: "{{ bin_dir }}/etcd-events"
|
|
|
|
owner: 'root'
|
2018-04-02 00:58:08 +08:00
|
|
|
mode: 0750
|
2018-03-01 16:39:14 +08:00
|
|
|
backup: yes
|
|
|
|
when: etcd_events_cluster_setup
|