From 718f31bd59976eaac6c2607225c82a0a2f9d8789 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Tue, 19 Oct 2021 16:30:22 +1300 Subject: [PATCH] Fix deprecation warning --- tasks/RedHat.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/RedHat.yml b/tasks/RedHat.yml index 61592b5..92ac6e2 100644 --- a/tasks/RedHat.yml +++ b/tasks/RedHat.yml @@ -25,7 +25,7 @@ command: /usr/sbin/semodule -i /tmp/checkmk-agent-autoupgrade.pp when: cmk_mod_installed is not defined notify: remove selinux policy file - when: ansible_selinux + when: ansible_selinux|bool tags: selinux-pre - name: Gather facts of packages