mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
* project: fix ansible-lint name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: ignore jinja template error in names Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: capitalize ansible name Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: update notify after name capitalization Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
22 lines
472 B
YAML
22 lines
472 B
YAML
---
|
|
- name: Restart containerd
|
|
command: /bin/true
|
|
notify:
|
|
- Containerd | restart containerd
|
|
- Containerd | wait for containerd
|
|
|
|
- name: Containerd | restart containerd
|
|
systemd:
|
|
name: containerd
|
|
state: restarted
|
|
enabled: yes
|
|
daemon-reload: yes
|
|
masked: no
|
|
|
|
- name: Containerd | wait for containerd
|
|
command: "{{ containerd_bin_dir }}/ctr images ls -q"
|
|
register: containerd_ready
|
|
retries: 8
|
|
delay: 4
|
|
until: containerd_ready.rc == 0
|