mirror of
https://github.com/Dadoum/anisette-v3-server.git
synced 2024-11-21 19:06:07 +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
|
name: rootless
|
||||||
register: rootless_usr
|
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
|
- name: Make sure acl is installed for rootless
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
|
Loading…
Reference in New Issue
Block a user