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

16 lines
282 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00: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