base / selinux module: do not try and load this on el6
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
f15a5f93ec
commit
f927c2774f
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@
|
|||
|
||||
- name: install our custom selinux module
|
||||
command: semodule -i /usr/local/share/rsyslog/rsyslog-audit.pp
|
||||
when: selinux_module is changed
|
||||
when: selinux_module is changed and ansible_distribution_major_version|int > 6
|
||||
tags:
|
||||
- rsyslogd
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue