fix: remove env variable

This commit is contained in:
Lennard Brinkhaus 2023-09-19 18:22:26 +02:00
parent b013450948
commit 29cad038a7
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22
2 changed files with 1 additions and 7 deletions

View File

@ -3,13 +3,9 @@
ansible.builtin.service:
name: traefik
state: restarted
when: ansible_service_mgr == "systemd"
environment:
XDG_RUNTIME_DIR: /var/run
when: ansible_service_mgr == "systemd
- name: "Reload systemd"
ansible.builtin.systemd:
daemon_reload: true
when: ansible_service_mgr == "systemd"
environment:
XDG_RUNTIME_DIR: /var/run

View File

@ -47,5 +47,3 @@
enabled: true
name: traefik
state: started
environment:
XDG_RUNTIME_DIR: /var/run