kubespray/roles/etcd/handlers/main.yml

16 lines
282 B
YAML
Raw Normal View History

2015-10-04 04:19:50 +08:00
---
- name: restart daemons
command: /bin/true
notify:
- reload systemd
- restart etcd2
- name: reload systemd
command: systemctl daemon-reload
- name: restart etcd2
service: name=etcd2 state=restarted
- name: Save iptables rules
command: service iptables save