Install containerd
ansible-galaxy role install git+https://github.com/sergelogvinov/ansible-role-containerd.git,main
# builder.yaml
- hosts: all
roles:
- ansible-role-containerd
# group_vars/all.yaml
containerd_mirrors:
- domain: k8s.gcr.io
endpoints:
- https://registry.k8s.io
- https://k8s.gcr.io
- domain: docker.io
endpoints:
- https://registry.ipv6.docker.com
- https://registry-1.docker.io
ansible-playbook -Dv -i inventories/hosts.ini builder.yaml