mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
fix(agent): Use proper env file path during provisioning. (#421)
Signed-off-by: fch-aa <21101725+fch-aa@users.noreply.github.com> Co-authored-by: fch-aa <21101725+fch-aa@users.noreply.github.com>
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
- name: Add service environment variables
|
- name: Add service environment variables
|
||||||
when: extra_service_envs is defined
|
when: extra_service_envs is defined
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: "{{ systemd_dir }}/k3s.service.env"
|
path: "{{ systemd_dir }}/k3s-agent.service.env"
|
||||||
line: "{{ item }}"
|
line: "{{ item }}"
|
||||||
with_items: "{{ extra_service_envs }}"
|
with_items: "{{ extra_service_envs }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user