Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 602 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 602 Bytes

ansible-role-containerd

Install containerd

Install

ansible-galaxy role install git+https://github.com/sergelogvinov/ansible-role-containerd.git,main

Usage

# 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