mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-12-15 07:10:19 +01:00
11 lines
310 B
YAML
11 lines
310 B
YAML
|
---
|
||
|
|
||
|
- name: Ensure containerd registries file exists
|
||
|
ansible.builtin.template:
|
||
|
src: registries.yaml.j2
|
||
|
dest: "{{ k3s_config_dir }}/registries.yaml"
|
||
|
mode: 0644
|
||
|
notify:
|
||
|
- reload systemd
|
||
|
- restart k3s
|
||
|
become: "{{ k3s_become_for_install_dir | ternary(true, false, k3s_become_for_all) }}"
|