Fix http_proxy reset: rm conf files before dirs

This commit is contained in:
Balázs Hasprai
2023-11-07 18:03:28 +01:00
parent a2bfc6c0b1
commit 83d4ee27fd

View File

@@ -51,8 +51,10 @@
name: "{{ item }}"
state: absent
with_items:
- "{{ systemd_dir }}/k3s.service.d/http_proxy.conf"
- "{{ systemd_dir }}/k3s.service.d"
- "{{ systemd_dir }}/k3s-node.service.d"
- "{{ systemd_dir }}/k3s-node.service.d/http_proxy.conf"
when: proxy_env is defined
- name: Reload daemon_reload