fix: export env variable

This commit is contained in:
Lennard Brinkhaus 2023-09-18 21:28:22 +02:00
parent 1b1f58de0f
commit ea47d71687
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22

View File

@ -1,4 +1,5 @@
--- ---
- name: Create podman folder - name: Create podman folder
file: file:
path: /root/.config/containers/systemd/ path: /root/.config/containers/systemd/
@ -37,6 +38,9 @@
src: traefik.yaml.j2 src: traefik.yaml.j2
dest: "/etc/traefik/traefik.yaml" dest: "/etc/traefik/traefik.yaml"
- name: Export XDG_RUNTIME_DIR
shell: export XDG_RUNTIME_DIR=/var/run
notify: notify:
- Reload systemd - Reload systemd
- Restart traefik - Restart traefik