2015-10-03 20:19:50 +00:00
|
|
|
---
|
2016-01-22 13:25:33 +00:00
|
|
|
- name: reload systemd
|
|
|
|
command: systemctl daemon-reload
|
2016-01-25 01:01:25 +00:00
|
|
|
when: init_system == "systemd"
|
2016-01-22 13:25:33 +00:00
|
|
|
|
2016-01-25 01:01:25 +00:00
|
|
|
- name: restart kubelet
|
2015-11-27 11:32:31 +00:00
|
|
|
command: /bin/true
|
|
|
|
notify:
|
|
|
|
- reload systemd
|
2016-01-25 01:01:25 +00:00
|
|
|
- reload kubelet
|
2015-11-27 11:32:31 +00:00
|
|
|
|
2016-01-22 13:25:33 +00:00
|
|
|
- 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
|