etcd directly in host

fix etcd configuration for nodes

fix wrong calico checksums

using a var name etcd_bin_dir

fix etcd handlers for sysvinit

using a var name etcd_bin_dir

sysvinit script

review etcd configuration
This commit is contained in:
Smaine Kahlouch
2016-01-19 15:23:19 +01:00
parent 5afbe181ce
commit 9715962356
11 changed files with 234 additions and 77 deletions

View File

@@ -0,0 +1,14 @@
---
- name: Create etcd user
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
with_items:
- etcdctl
- etcd
notify: restart etcd