* Fix http_proxy service dir in k3s_agent role * Fix http_proxy reset: rm conf files before dirs * Fix http_proxy reset rm order --------- Co-authored-by: Techno Tim <timothystewart6@gmail.com>
19 lines
372 B
YAML
19 lines
372 B
YAML
---
|
|
|
|
- name: Create k3s-node.service.d directory
|
|
file:
|
|
path: '{{ systemd_dir }}/k3s-node.service.d'
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: '0755'
|
|
|
|
|
|
- name: Copy K3s http_proxy conf file
|
|
template:
|
|
src: "http_proxy.conf.j2"
|
|
dest: "{{ systemd_dir }}/k3s-node.service.d/http_proxy.conf"
|
|
owner: root
|
|
group: root
|
|
mode: '0755'
|