c12s-kubespray/roles/etcd/handlers/main.yml
2016-01-25 10:54:07 +01:00

15 lines
255 B
YAML

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