mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-25 12:15:51 +01:00
12 lines
342 B
YAML
12 lines
342 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 {{ k3s_service_handler[ansible_service_mgr] }}"
|
|
- "Restart k3s {{ k3s_service_handler[ansible_service_mgr] }}"
|
|
become: "{{ k3s_become }}"
|