Browse Source
Refactor "multi" handlers to use listen (#10542)
Refactor "multi" handlers to use listen (#10542)
* containerd: refactor handlers to use 'listen' * cri-dockerd: refactor handlers to use 'listen' * cri-o: refactor handlers to use 'listen' * docker: refactor handlers to use 'listen' * etcd: refactor handlers to use 'listen' * control-plane: refactor handlers to use 'listen' * kubeadm: refactor handlers to use 'listen' * node: refactor handlers to use 'listen' * preinstall: refactor handlers to use 'listen' * calico: refactor handlers to use 'listen' * kube-router: refactor handlers to use 'listen' * macvlan: refactor handlers to use 'listen'pull/10606/head
Max Gautier
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 85 additions and 158 deletions
Split View
Diff Options
-
8roles/container-engine/containerd/handlers/main.yml
-
14roles/container-engine/cri-dockerd/handlers/main.yml
-
8roles/container-engine/cri-o/handlers/main.yml
-
14roles/container-engine/docker/handlers/main.yml
-
25roles/etcd/handlers/backup.yml
-
8roles/etcd/handlers/backup_cleanup.yml
-
23roles/etcd/handlers/main.yml
-
52roles/kubernetes/control-plane/handlers/main.yml
-
8roles/kubernetes/kubeadm/handlers/main.yml
-
8roles/kubernetes/node/handlers/main.yml
-
40roles/kubernetes/preinstall/handlers/main.yml
-
20roles/network_plugin/calico/handlers/main.yml
-
8roles/network_plugin/kube-router/handlers/main.yml
-
7roles/network_plugin/macvlan/handlers/main.yml
@ -1,35 +1,31 @@ |
|||
--- |
|||
- name: Restart and enable cri-dockerd |
|||
command: /bin/true |
|||
notify: |
|||
- Cri-dockerd | reload systemd |
|||
- Cri-dockerd | restart docker.service |
|||
- Cri-dockerd | reload cri-dockerd.socket |
|||
- Cri-dockerd | reload cri-dockerd.service |
|||
- Cri-dockerd | enable cri-dockerd service |
|||
|
|||
- name: Cri-dockerd | reload systemd |
|||
systemd: |
|||
name: cri-dockerd |
|||
daemon_reload: true |
|||
masked: no |
|||
listen: Restart and enable cri-dockerd |
|||
|
|||
- name: Cri-dockerd | restart docker.service |
|||
service: |
|||
name: docker.service |
|||
state: restarted |
|||
listen: Restart and enable cri-dockerd |
|||
|
|||
- name: Cri-dockerd | reload cri-dockerd.socket |
|||
service: |
|||
name: cri-dockerd.socket |
|||
state: restarted |
|||
listen: Restart and enable cri-dockerd |
|||
|
|||
- name: Cri-dockerd | reload cri-dockerd.service |
|||
service: |
|||
name: cri-dockerd.service |
|||
state: restarted |
|||
listen: Restart and enable cri-dockerd |
|||
|
|||
- name: Cri-dockerd | enable cri-dockerd service |
|||
service: |
|||
name: cri-dockerd.service |
|||
enabled: yes |
|||
listen: Restart and enable cri-dockerd |
@ -1,16 +1,12 @@ |
|||
--- |
|||
- name: Restart crio |
|||
command: /bin/true |
|||
notify: |
|||
- CRI-O | reload systemd |
|||
- CRI-O | reload crio |
|||
|
|||
- name: CRI-O | reload systemd |
|||
systemd: |
|||
daemon_reload: true |
|||
listen: Restart crio |
|||
|
|||
- name: CRI-O | reload crio |
|||
service: |
|||
name: crio |
|||
state: restarted |
|||
enabled: yes |
|||
listen: Restart crio |
@ -1,15 +1,11 @@ |
|||
--- |
|||
- name: Kubeadm | restart kubelet |
|||
command: /bin/true |
|||
notify: |
|||
- Kubeadm | reload systemd |
|||
- Kubeadm | reload kubelet |
|||
|
|||
- name: Kubeadm | reload systemd |
|||
systemd: |
|||
daemon_reload: true |
|||
listen: Kubeadm | restart kubelet |
|||
|
|||
- name: Kubeadm | reload kubelet |
|||
service: |
|||
name: kubelet |
|||
state: restarted |
|||
listen: Kubeadm | restart kubelet |
@ -1,15 +1,11 @@ |
|||
--- |
|||
- name: Node | restart kubelet |
|||
command: /bin/true |
|||
notify: |
|||
- Kubelet | reload systemd |
|||
- Kubelet | restart kubelet |
|||
|
|||
- name: Kubelet | reload systemd |
|||
systemd: |
|||
daemon_reload: true |
|||
listen: Node | restart kubelet |
|||
|
|||
- name: Kubelet | restart kubelet |
|||
service: |
|||
name: kubelet |
|||
state: restarted |
|||
listen: Node | restart kubelet |
Write
Preview
Loading…
Cancel
Save