2021-05-07 11:56:45 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Ensure containerd registries file exists
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: registries.yaml.j2
|
|
|
|
dest: "{{ k3s_config_dir }}/registries.yaml"
|
2021-05-08 12:39:19 +02:00
|
|
|
mode: 0600
|
2021-05-07 11:56:45 +02:00
|
|
|
notify:
|
|
|
|
- reload systemd
|
|
|
|
- restart k3s
|
2022-01-02 22:52:09 +01:00
|
|
|
become: "{{ k3s_become }}"
|