k9casca2/k3s-ansible-copia/roles/k3s_server/tasks/http_proxy.yml
2025-04-08 11:18:50 +00:00

17 lines
385 B
YAML

---
- name: Create k3s.service.d directory
ansible.builtin.file:
path: "{{ systemd_dir }}/k3s.service.d"
state: directory
owner: root
group: root
mode: "0755"
- name: Copy K3s http_proxy conf file
ansible.builtin.template:
src: http_proxy.conf.j2
dest: "{{ systemd_dir }}/k3s.service.d/http_proxy.conf"
owner: root
group: root
mode: "0755"