From 9ecf237ae68e8db01ee6c5f746c3f2e6e1b26805 Mon Sep 17 00:00:00 2001 From: Ted Cook Date: Fri, 3 Nov 2023 19:54:46 -0600 Subject: [PATCH] Refactor check condition syntax --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 4821b4b..be47b03 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -52,7 +52,7 @@ selection: hold loop: "{{ [heartbeat_package_names] | flatten }}" changed_when: false - when: (ansible_os_family | lower) == 'debian' + when: ansible_os_family == 'Debian' - name: Enable yum package lock community.general.yum_versionlock: