modified: ansible/roles/k3s-install/tasks/main.yml

This commit is contained in:
linxin
2023-06-29 19:00:24 +08:00
parent 21c33d832b
commit 2580db7963

View File

@@ -89,6 +89,14 @@
src: "{{ role_path }}/files/service_set_coredns_forwarding.conf"
dest: /usr/lib/systemd/system/k3s.service.d/
- name: "Create /usr/libexec/k3s directory if it does not exist"
file:
path: "{{ item }}"
state: directory
mode: '0755'
with_items:
- /usr/libexec/k3s
- name: "copy update-coredns-forwarding to dest"
copy:
src: "{{ role_path }}/files/update-coredns-forwarding.sh"