2016-01-19 14:23:19 +00:00
|
|
|
---
|
2016-01-25 01:01:25 +00:00
|
|
|
- name: restart etcd
|
2016-01-19 14:23:19 +00:00
|
|
|
command: /bin/true
|
|
|
|
notify:
|
|
|
|
- reload systemd
|
2016-01-25 01:01:25 +00:00
|
|
|
- reload etcd
|
2016-01-19 14:23:19 +00:00
|
|
|
|
|
|
|
- name: reload systemd
|
|
|
|
command: systemctl daemon-reload
|
2016-02-13 10:17:20 +00:00
|
|
|
when: ansible_service_mgr == "systemd"
|
2016-01-19 14:23:19 +00:00
|
|
|
|
2016-01-25 01:01:25 +00:00
|
|
|
- name: reload etcd
|
2016-01-19 14:23:19 +00:00
|
|
|
service:
|
|
|
|
name: etcd
|
|
|
|
state: restarted
|