fix: use systemvide correct file
This commit is contained in:
parent
ea47d71687
commit
6b42723e1d
@ -38,8 +38,14 @@
|
||||
src: traefik.yaml.j2
|
||||
dest: "/etc/traefik/traefik.yaml"
|
||||
|
||||
- name: Export XDG_RUNTIME_DIR
|
||||
shell: export XDG_RUNTIME_DIR=/var/run
|
||||
- name: Set env template
|
||||
lineinfile:
|
||||
path="/etc/environment"
|
||||
line="XDG_RUNTIME_DIR=/var/run"
|
||||
regexp='^XDG_RUNTIME_DIR=/var/run$'
|
||||
state=present
|
||||
insertafter=EOF
|
||||
create=True
|
||||
|
||||
notify:
|
||||
- Reload systemd
|
||||
|
Loading…
Reference in New Issue
Block a user