c12s-kubespray/roles/etcd/handlers/main.yml

16 lines
255 B
YAML
Raw Normal View History

---
2016-01-25 01:01:25 +00:00
- name: restart etcd
command: /bin/true
notify:
- reload systemd
2016-01-25 01:01:25 +00:00
- reload etcd
- name: reload systemd
command: systemctl daemon-reload
2016-01-25 01:01:25 +00:00
when: init_system == "systemd"
2016-01-25 01:01:25 +00:00
- name: reload etcd
service:
name: etcd
state: restarted