Merge pull request #82 from rackn/etcd-sync

Fix etcd synchronize to other nodes from the downloader
This commit is contained in:
Antoine Legrand 2016-01-21 20:39:52 +01:00
commit e95c4739f5

View file

@ -3,12 +3,15 @@
user: name=etcd shell=/bin/nologin home=/var/lib/etcd user: name=etcd shell=/bin/nologin home=/var/lib/etcd
- name: Install etcd binaries - name: Install etcd binaries
copy: synchronize:
src={{ etcd_bin_dir }}/{{ item }} src: "{{ etcd_bin_dir }}/{{ item }}"
dest={{ bin_dir }} dest: "{{ bin_dir }}"
owner=etcd times: yes
mode=0755 archive: no
set_remote_user: false
delegate_to: "{{ groups['downloader'][0] }}"
with_items: with_items:
- etcdctl - etcdctl
- etcd - etcd
notify: restart etcd notify: restart etcd