Fix systemd reload and calico unit

This commit is contained in:
ant31
2016-01-25 02:01:25 +01:00
committed by Antoine Legrand
parent 2cbbcee351
commit 56b92812fa
11 changed files with 39 additions and 31 deletions

View File

@@ -1,14 +1,15 @@
---
- name: restart systemd-etcd
- name: restart etcd
command: /bin/true
notify:
- reload systemd
- restart etcd
- reload etcd
- name: reload systemd
command: systemctl daemon-reload
when: init_system == "systemd"
- name: restart etcd
- name: reload etcd
service:
name: etcd
state: restarted