19 lines
346 B
YAML
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
|