From c6394a4338d0117987bee2744f90381dc671ef2d Mon Sep 17 00:00:00 2001 From: sbstnnmnn <138126422+sbstnnmnn@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:52:43 +0200 Subject: [PATCH] hddtemp: fix drivetemp module check (#1507) Signed-off-by: Sebastian Neumann --- roles/hddtemp/tasks/install-Debian-family.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/hddtemp/tasks/install-Debian-family.yml b/roles/hddtemp/tasks/install-Debian-family.yml index 6b94fc424..19dc01ae7 100644 --- a/roles/hddtemp/tasks/install-Debian-family.yml +++ b/roles/hddtemp/tasks/install-Debian-family.yml @@ -25,7 +25,7 @@ community.general.modprobe: name: drivetemp state: present - when: drivetemp_check.rc == 0 + when: drivetemp_check.stdout_lines | length > 0 - name: Install lm-sensors become: true