ansible-role-k3s/tasks/ensure_containerd_registries.yml
2022-01-02 22:20:14 +00:00

12 lines
252 B
YAML

---
- name: Ensure containerd registries file exists
ansible.builtin.template:
src: registries.yaml.j2
dest: "{{ k3s_config_dir }}/registries.yaml"
mode: 0600
notify:
- reload systemd
- restart k3s
become: "{{ k3s_become }}"