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

16 lines
296 B
YAML

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