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

20 lines
346 B
YAML
Raw Normal View History

2015-10-03 20:19:50 +00:00
---
- 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: restart kubelet
command: /bin/true
notify:
- reload systemd
2016-01-24 21:27:55 +00:00
- restart kubelet
- name: set is_gentoken_calico fact
set_fact:
is_gentoken_calico: true
2016-01-09 09:45:50 +00:00
2016-01-25 01:01:25 +00:00
- name: reload kubelet
2015-10-03 20:19:50 +00:00
service:
name: kubelet
state: restarted