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.

20 lines
626 B

  1. ---
  2. - name: install | Copy etcd binary from download dir
  3. shell: |
  4. rsync -piu "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-amd64/etcd" "{{ bin_dir }}/etcd"
  5. rsync -piu "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-amd64/etcdctl" "{{ bin_dir }}/etcdctl"
  6. changed_when: false
  7. when: etcd_cluster_setup
  8. - name: install | Set etcd binary permissions
  9. file:
  10. path: "{{ bin_dir }}/etcd"
  11. mode: "0755"
  12. state: file
  13. when: etcd_cluster_setup
  14. - name: install | Set etcdctl binary permissions
  15. file:
  16. path: "{{ bin_dir }}/etcdctl"
  17. mode: "0755"
  18. state: file
  19. when: etcd_cluster_setup