c12s-kubespray/roles/kubernetes/master/handlers/main.yml

17 lines
296 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
2016-01-25 01:01:25 +00:00
- name: restart kube-apiserver
command: /bin/true
notify:
- reload systemd
2016-01-25 01:01:25 +00:00
- reload kube-apiserver
- 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 kube-apiserver
service:
name: kube-apiserver
state: restarted