mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-25 12:15:51 +01:00
f2a3f75f08
as an option, however this is experimental in both K3s and this role.
8 lines
247 B
YAML
8 lines
247 B
YAML
---
|
|
|
|
- name: Ensure systemd context is correct if we are running k3s rootless
|
|
set_fact:
|
|
k3s_systemd_context: user
|
|
k3s_systemd_unit_directory: "{{ ansible_user_dir }}/.config/systemd/user"
|
|
when: k3s_non_root is defined and k3s_non_root
|