Remove downloader host

This commit is contained in:
Antoine Legrand
2016-01-21 21:18:45 +01:00
parent e95c4739f5
commit 078b67c50f
10 changed files with 13 additions and 29 deletions

View File

@@ -1,17 +1,16 @@
---
- name: Create etcd user
- name: INSTALL | Create etcd user
user: name=etcd shell=/bin/nologin home=/var/lib/etcd
- name: Install etcd binaries
- name: INSTALL | Copy etcd binaries
synchronize:
src: "{{ etcd_bin_dir }}/{{ item }}"
dest: "{{ bin_dir }}"
times: yes
archive: no
set_remote_user: false
delegate_to: "{{ groups['downloader'][0] }}"
delegate_to: "{{ inventory_hostname }}"
with_items:
- etcdctl
- etcd
notify: restart etcd