diff --git a/roles/collectd/fcomm-queue/tasks/main.yml b/roles/collectd/fcomm-queue/tasks/main.yml index edc0a89524..f839d07854 100644 --- a/roles/collectd/fcomm-queue/tasks/main.yml +++ b/roles/collectd/fcomm-queue/tasks/main.yml @@ -48,7 +48,7 @@ - name: install our fcomm collectd selinux module command: semodule -i /usr/share/collectd/fi-collectd-fcomm.pp - when: (selinux_module|changed) or (selinux_grep.rc == 1) + when: selinux_module|changed or selinux_grep.rc|int != 0 tags: - collectd - selinux