From 1b1f58de0fa32cc1929f1834380ee1a6555856e3 Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Mon, 18 Sep 2023 20:19:48 +0200 Subject: [PATCH] fix: set environment --- handlers/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: