ha etcd with calico

This commit is contained in:
Smaine Kahlouch
2015-12-15 11:49:11 +01:00
parent 2fc8b46996
commit e2984b4fdb
8 changed files with 38 additions and 33 deletions

View File

@@ -11,15 +11,7 @@
with_items:
- etcdctl
- etcd
notify:
- restart daemons
notify: restart etcd2
- name: Create etcd2 binary symlink
file: src=/usr/local/bin/etcd dest=/usr/local/bin/etcd2 state=link
- name: Copy etcd2.service systemd file
template:
src: systemd-etcd2.service.j2
dest: /lib/systemd/system/etcd2.service
backup: yes
notify: restart daemons