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