kubespray/roles/etcd/handlers/main.yml

16 lines
263 B
YAML
Raw Normal View History

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