rename handler to fix ansible 2.8 issue (#5801)
parent
0aa22998e2
commit
b8d628c5f3
|
@ -1,5 +1,15 @@
|
|||
---
|
||||
- name: restart kubelet
|
||||
- name: Kubeadm | restart kubelet
|
||||
command: /bin/true
|
||||
notify:
|
||||
- Kubeadm | reload systemd
|
||||
- Kubeadm | reload kubelet
|
||||
|
||||
- name: Kubeadm | reload systemd
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
||||
- name: Kubeadm | reload kubelet
|
||||
service:
|
||||
name: kubelet
|
||||
state: restarted
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
- kubeadm_config_api_fqdn is not defined
|
||||
- not is_kube_master
|
||||
- kubeadm_discovery_address != kube_apiserver_endpoint | replace("https://", "")
|
||||
notify: restart kubelet
|
||||
notify: Kubeadm | restart kubelet
|
||||
|
||||
# FIXME(mattymo): Need to point to localhost, otherwise masters will all point
|
||||
# incorrectly to first master, creating SPoF.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: restart kubelet
|
||||
- name: Node | restart kubelet
|
||||
command: /bin/true
|
||||
notify:
|
||||
- Kubelet | reload systemd
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
tags:
|
||||
- kubelet
|
||||
- upgrade
|
||||
notify: restart kubelet
|
||||
notify: Node | restart kubelet
|
||||
|
||||
- name: install | Set kubelet binary permissions
|
||||
file:
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
src: "kubelet.env.{{ kubeadmConfig_api_version }}.j2"
|
||||
dest: "{{ kube_config_dir }}/kubelet.env"
|
||||
backup: yes
|
||||
notify: restart kubelet
|
||||
notify: Node | restart kubelet
|
||||
when: kubeadm_output.stdout is version('v1.13.0', '>=')
|
||||
tags:
|
||||
- kubelet
|
||||
|
@ -43,7 +43,7 @@
|
|||
src: "kubelet.service.j2"
|
||||
dest: "/etc/systemd/system/kubelet.service"
|
||||
backup: "yes"
|
||||
notify: restart kubelet
|
||||
notify: Node | restart kubelet
|
||||
tags:
|
||||
- kubelet
|
||||
- kubeadm
|
||||
|
|
|
@ -221,7 +221,7 @@
|
|||
when:
|
||||
- cloud_provider is defined
|
||||
- cloud_provider in [ 'openstack', 'azure', 'vsphere', 'aws' ]
|
||||
notify: restart kubelet
|
||||
notify: Node | restart kubelet
|
||||
tags:
|
||||
- cloud-provider
|
||||
|
||||
|
|
Loading…
Reference in New Issue