c12s-kubespray/roles/kubernetes/node/handlers/main.yml
2016-01-25 12:07:32 +01:00

19 lines
346 B
YAML

---
- name: reload systemd
command: systemctl daemon-reload
when: init_system == "systemd"
- name: restart kubelet
command: /bin/true
notify:
- reload systemd
- restart kubelet
- name: set is_gentoken_calico fact
set_fact:
is_gentoken_calico: true
- name: reload kubelet
service:
name: kubelet
state: restarted