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: ansible.builtin.service:
name: traefik name: traefik
state: restarted state: restarted
when: ansible_service_mgr == "systemd" when: ansible_service_mgr == "systemd
environment:
XDG_RUNTIME_DIR: /var/run
- name: "Reload systemd" - name: "Reload systemd"
ansible.builtin.systemd: ansible.builtin.systemd:
daemon_reload: true daemon_reload: true
when: ansible_service_mgr == "systemd" when: ansible_service_mgr == "systemd"
environment:
XDG_RUNTIME_DIR: /var/run

View File

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