ansible-role-k3s/tasks/build/containerd/registries.yml
赵安家 d563dcca05 style(k3s): change code style
change code style
2021-05-08 18:39:19 +08:00

12 lines
311 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_for_install_dir | ternary(true, false, k3s_become_for_all) }}"