c12s-kubespray/roles/kubernetes/node/handlers/main.yml
2016-01-25 22:49:24 +01:00

19 lines
345 B
YAML

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