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