0379a52f03
- This solves issue #5721 & #5713 (dupes) - Provide a cleaner default usage pattern for the download role around etcd that supports 'host' and 'docker' properly - Extract the 'etcdctl' as a separate task install piece and reuse it where appropriate - Update the kubeadm-etcd task to reflect the above change
21 lines
446 B
YAML
21 lines
446 B
YAML
---
|
|
- import_tasks: install_etcdctl_docker.yml
|
|
when: etcd_cluster_setup
|
|
|
|
- name: Install etcd launch script
|
|
template:
|
|
src: etcd.j2
|
|
dest: "{{ bin_dir }}/etcd"
|
|
owner: 'root'
|
|
mode: 0750
|
|
backup: yes
|
|
when: etcd_cluster_setup
|
|
|
|
- name: Install etcd-events launch script
|
|
template:
|
|
src: etcd-events.j2
|
|
dest: "{{ bin_dir }}/etcd-events"
|
|
owner: 'root'
|
|
mode: 0750
|
|
backup: yes
|
|
when: etcd_events_cluster_setup
|