diff --git a/handlers/main.yml b/handlers/main.yml index 205e1a7..35cb432 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -5,7 +5,8 @@ state: restarted scope: "user" when: ansible_service_mgr == "systemd" - XDG_RUNTIME_DIR: /var/run + environment: + XDG_RUNTIME_DIR: /var/run - name: "Reload systemd" ansible.builtin.systemd: