From 415c9af9563244f23efb9e36827a5f983bc31c66 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sat, 2 Dec 2023 10:26:06 +0100 Subject: [PATCH] fix: force scope to system for systemd daemon-reload --- handlers/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/handlers/main.yml b/handlers/main.yml index 23f6589..6307a05 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -3,6 +3,7 @@ - name: "Reload service file" ansible.builtin.systemd: daemon_reload: true + scope: system become: true listen: "systemctl-daemon-reload"