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
|
- config
|
||||||
|
|
||||||
# Custom selinux policy to allow rsyslog to read and send audit to log01
|
# Custom selinux policy to allow rsyslog to read and send audit to log01
|
||||||
#- name: ensure a directory exists for our custom selinux module
|
- name: ensure a directory exists for our custom selinux module
|
||||||
# file: dest=/usr/local/share/rsyslog state=directory
|
file: dest=/usr/local/share/rsyslog state=directory
|
||||||
# tags:
|
tags:
|
||||||
# - rsyslogd
|
- rsyslogd
|
||||||
# - config
|
- config
|
||||||
#
|
- rsyslog-audit
|
||||||
#- name: copy over our custom selinux module
|
|
||||||
# copy: src=selinux/rsyslog-audit.pp dest=/usr/local/share/rsyslog/rsyslog-audit.pp
|
- name: copy over our custom selinux module
|
||||||
# register: selinux_module
|
copy: src=selinux/rsyslog-audit.pp dest=/usr/local/share/rsyslog/rsyslog-audit.pp
|
||||||
# tags:
|
register: selinux_module
|
||||||
# - rsyslogd
|
tags:
|
||||||
# - config
|
- rsyslogd
|
||||||
#
|
- config
|
||||||
#- name: install our custom selinux module
|
- rsyslog-audit
|
||||||
# command: semodule -i /usr/local/share/rsyslog/rsyslog-audit.pp
|
|
||||||
# when: selinux_module|changed
|
- name: install our custom selinux module
|
||||||
# tags:
|
command: semodule -i /usr/local/share/rsyslog/rsyslog-audit.pp
|
||||||
# - rsyslogd
|
when: selinux_module|changed
|
||||||
# - config
|
tags:
|
||||||
#
|
- rsyslogd
|
||||||
|
- config
|
||||||
|
- rsyslog-audit
|
||||||
|
|
||||||
- name: Setup postfix
|
- name: Setup postfix
|
||||||
include: postfix.yml
|
include: postfix.yml
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue