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:
parent
16c01abe80
commit
335f7a226a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue