From 335f7a226a4f4afce95f8f5c1c58e9aa17f8bd6a Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 17 Nov 2014 14:27:35 +0000 Subject: [PATCH] Okay. Latest theory. When we added ``ignore_errors`` it really suppresses the 'failed' attribute all together. So instead, we need to check that the thing was 'skipped' (i.e., it had an error that was ignored.) --- 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 c3aa7235b2..2110b79793 100644 --- a/roles/collectd/fcomm-queue/tasks/main.yml +++ b/roles/collectd/fcomm-queue/tasks/main.yml @@ -56,7 +56,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|skipped tags: - collectd - selinux