Skip to content
Snippets Groups Projects
Commit e95c4739 authored by Antoine Legrand's avatar Antoine Legrand
Browse files

Merge pull request #82 from rackn/etcd-sync

Fix etcd synchronize to other nodes from the downloader
parents 5e3af86c 32877bdc
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,15 @@
user: name=etcd shell=/bin/nologin home=/var/lib/etcd
- name: Install etcd binaries
copy:
src={{ etcd_bin_dir }}/{{ item }}
dest={{ bin_dir }}
owner=etcd
mode=0755
synchronize:
src: "{{ etcd_bin_dir }}/{{ item }}"
dest: "{{ bin_dir }}"
times: yes
archive: no
set_remote_user: false
delegate_to: "{{ groups['downloader'][0] }}"
with_items:
- etcdctl
- etcd
notify: restart etcd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment