2019-06-29 21:09:20 +00:00
|
|
|
---
|
|
|
|
- name: restart containerd
|
|
|
|
command: /bin/true
|
|
|
|
notify:
|
2019-07-11 06:46:54 +00:00
|
|
|
- Containerd | restart containerd
|
2019-06-29 21:09:20 +00:00
|
|
|
- Containerd | wait for containerd
|
|
|
|
|
2019-07-11 06:46:54 +00:00
|
|
|
- name: Containerd | restart containerd
|
|
|
|
systemd:
|
2019-06-29 21:09:20 +00:00
|
|
|
name: containerd
|
|
|
|
state: restarted
|
2019-07-11 06:46:54 +00:00
|
|
|
enabled: yes
|
|
|
|
daemon-reload: yes
|
2022-04-29 15:39:14 +00:00
|
|
|
masked: no
|
2019-06-29 21:09:20 +00:00
|
|
|
|
|
|
|
- name: Containerd | wait for containerd
|
|
|
|
command: "{{ containerd_bin_dir }}/ctr images ls -q"
|
|
|
|
register: containerd_ready
|
2019-07-11 06:46:54 +00:00
|
|
|
retries: 8
|
|
|
|
delay: 4
|
2019-06-29 21:09:20 +00:00
|
|
|
until: containerd_ready.rc == 0
|