Try a different approach.
This commit is contained in:
parent
95a2fd671c
commit
e13c7e6237
1 changed files with 2 additions and 3 deletions
|
@ -37,11 +37,10 @@
|
|||
- selinux
|
||||
|
||||
- name: check to see if its even installed yet
|
||||
shell: semodule -l | grep fi-collectd-fcomm
|
||||
shell: semodule -l | grep fi-collectd-fcomm | wc -l
|
||||
register: selinux_grep
|
||||
always_run: True
|
||||
changed_when: selinux_grep.rc == 1
|
||||
ignore_errors: True
|
||||
changed_when: 1 in selinux_grep.stdout
|
||||
tags:
|
||||
- collectd
|
||||
- selinux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue