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.)
This commit is contained in:
Ralph Bean 2014-11-17 14:27:35 +00:00
parent 16c01abe80
commit 335f7a226a

View file

@ -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