k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
626 B
21 lines
626 B
---
|
|
- name: install | Copy etcd binary from download dir
|
|
shell: |
|
|
rsync -piu "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-amd64/etcd" "{{ bin_dir }}/etcd"
|
|
rsync -piu "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-amd64/etcdctl" "{{ bin_dir }}/etcdctl"
|
|
changed_when: false
|
|
when: etcd_cluster_setup
|
|
|
|
- name: install | Set etcd binary permissions
|
|
file:
|
|
path: "{{ bin_dir }}/etcd"
|
|
mode: "0755"
|
|
state: file
|
|
when: etcd_cluster_setup
|
|
|
|
- name: install | Set etcdctl binary permissions
|
|
file:
|
|
path: "{{ bin_dir }}/etcdctl"
|
|
mode: "0755"
|
|
state: file
|
|
when: etcd_cluster_setup
|