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
550 B

  1. ---
  2. - name: install | Download etcd and etcdctl
  3. include_tasks: "../../download/tasks/download_file.yml"
  4. vars:
  5. download: "{{ download_defaults | combine(downloads.etcd) }}"
  6. when: etcd_cluster_setup
  7. tags:
  8. - never
  9. - etcd
  10. - name: install | Copy etcd and etcdctl binary from download dir
  11. copy:
  12. src: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ host_architecture }}/{{ item }}"
  13. dest: "{{ bin_dir }}/{{ item }}"
  14. mode: 0755
  15. remote_src: yes
  16. with_items:
  17. - etcd
  18. - etcdctl
  19. when: etcd_cluster_setup