From 3c88ce811e298baface91d22d2ea8b928aef24cc Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 7 Feb 2026 09:20:20 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Refactor=20ser?= =?UTF-8?q?vice=20reload=20command=20to=20use=20systemd=5Fservice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the service reload command to utilize the `systemd_service` module, enhancing compatibility and maintainability. --- handlers/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index 5a24f50..5db07e6 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -12,4 +12,5 @@ state: restarted - name: Reload systemd - ansible.builtin.command: systemctl daemon-reexec + ansible.builtin.systemd_service: + daemon_reexec: true