From 555a77421274dabef3ead1d6070cdd02e761e79f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Krienb=C3=BChl?= Date: Fri, 22 Aug 2025 13:17:54 +0200 Subject: [PATCH] [ifupdown] Invoke systemctl instead of systemd The systemd binary is not meant to be invoked directly[1] and is no longer in the PATH in Trixie. [1]: https://www.freedesktop.org/software/systemd/man/latest/systemd.html --- ansible/roles/ifupdown/tasks/ifup_systemd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/ifupdown/tasks/ifup_systemd.yml b/ansible/roles/ifupdown/tasks/ifup_systemd.yml index c3bab655de..7136b77996 100644 --- a/ansible/roles/ifupdown/tasks/ifup_systemd.yml +++ b/ansible/roles/ifupdown/tasks/ifup_systemd.yml @@ -5,7 +5,7 @@ # SPDX-License-Identifier: GPL-3.0-only - name: Check systemd version - ansible.builtin.shell: set -o nounset -o pipefail -o errexit && systemd --version | head -n 1 | awk '{print $2}' + ansible.builtin.shell: set -o nounset -o pipefail -o errexit && systemctl --version | head -n 1 | awk '{print $2}' args: executable: 'bash' register: ifupdown__register_systemd_version