comment in rsyslog-audit module in base
This commit is contained in:
parent
f4ae8df39d
commit
9f71fa2295
1 changed files with 23 additions and 20 deletions
|
@ -349,26 +349,29 @@
|
|||
- config
|
||||
|
||||
# Custom selinux policy to allow rsyslog to read and send audit to log01
|
||||
#- name: ensure a directory exists for our custom selinux module
|
||||
# file: dest=/usr/local/share/rsyslog state=directory
|
||||
# tags:
|
||||
# - rsyslogd
|
||||
# - config
|
||||
#
|
||||
#- name: copy over our custom selinux module
|
||||
# copy: src=selinux/rsyslog-audit.pp dest=/usr/local/share/rsyslog/rsyslog-audit.pp
|
||||
# register: selinux_module
|
||||
# tags:
|
||||
# - rsyslogd
|
||||
# - config
|
||||
#
|
||||
#- name: install our custom selinux module
|
||||
# command: semodule -i /usr/local/share/rsyslog/rsyslog-audit.pp
|
||||
# when: selinux_module|changed
|
||||
# tags:
|
||||
# - rsyslogd
|
||||
# - config
|
||||
#
|
||||
- name: ensure a directory exists for our custom selinux module
|
||||
file: dest=/usr/local/share/rsyslog state=directory
|
||||
tags:
|
||||
- rsyslogd
|
||||
- config
|
||||
- rsyslog-audit
|
||||
|
||||
- name: copy over our custom selinux module
|
||||
copy: src=selinux/rsyslog-audit.pp dest=/usr/local/share/rsyslog/rsyslog-audit.pp
|
||||
register: selinux_module
|
||||
tags:
|
||||
- rsyslogd
|
||||
- config
|
||||
- rsyslog-audit
|
||||
|
||||
- name: install our custom selinux module
|
||||
command: semodule -i /usr/local/share/rsyslog/rsyslog-audit.pp
|
||||
when: selinux_module|changed
|
||||
tags:
|
||||
- rsyslogd
|
||||
- config
|
||||
- rsyslog-audit
|
||||
|
||||
- name: Setup postfix
|
||||
include: postfix.yml
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue