From 4eba8424028a858d52329e0c2aa287a994150d1d Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 17 Nov 2014 02:49:41 +0000 Subject: [PATCH] Ansible isn't detecting this expected failure anymore. Try this. --- roles/collectd/fcomm-queue/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/collectd/fcomm-queue/tasks/main.yml b/roles/collectd/fcomm-queue/tasks/main.yml index 70538238a2..b26e759720 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|failed + when: selinux_module|changed or selinux_grep.rc == 1 tags: - collectd - selinux