mirror of
https://github.com/Dadoum/anisette-v3-server.git
synced 2024-11-21 10:56:08 +00:00
Set XDG_RUNTIME_DIR when doing su - rootless
This commit is contained in:
parent
d6ce326250
commit
8013768407
@ -14,6 +14,11 @@
|
||||
name: rootless
|
||||
register: rootless_usr
|
||||
|
||||
- name: Configure xdg_runtime
|
||||
ansible.builtin.lineinfile:
|
||||
line: "export XDG_RUNTIME_DIR=/run/user/{{rootless_usr.uid}}"
|
||||
path: "/home/{{ rootless_usr.name }}/.bashrc"
|
||||
|
||||
- name: Make sure acl is installed for rootless
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
|
Loading…
Reference in New Issue
Block a user