do not deploy rsyslog-audit.conf in cloud environment
addressing: https://pagure.io/fedora-infrastructure/issue/7438
This commit is contained in:
parent
7e923d48e8
commit
03aa9734f5
3 changed files with 14 additions and 0 deletions
1
roles/base/files/rsyslog/rsyslog-audit.conf.cloud
Normal file
1
roles/base/files/rsyslog/rsyslog-audit.conf.cloud
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# we do not offer log servers in the cloud
|
|
@ -276,6 +276,19 @@
|
||||||
- config
|
- config
|
||||||
- base
|
- base
|
||||||
|
|
||||||
|
- name: rsyslog-audit.conf
|
||||||
|
copy: src={{ item }} dest=/etc/rsyslog.d/rsyslog-audit.conf owner=root group=root mode=0644
|
||||||
|
with_first_found:
|
||||||
|
- rsyslog/rsyslog-audit.conf.{{ datacenter }}
|
||||||
|
- rsyslog/rsyslog-audit.conf.default
|
||||||
|
notify:
|
||||||
|
- restart rsyslog
|
||||||
|
tags:
|
||||||
|
- rsyslogd
|
||||||
|
- config
|
||||||
|
- base
|
||||||
|
|
||||||
|
- name: remove
|
||||||
- name: log everything to log01 except on mirrorlist, do not log local4 there.
|
- name: log everything to log01 except on mirrorlist, do not log local4 there.
|
||||||
copy: src=rsyslog/rsyslog-log01 dest=/etc/rsyslog.d/rsyslog-log01.conf mode=0644
|
copy: src=rsyslog/rsyslog-log01 dest=/etc/rsyslog.d/rsyslog-log01.conf mode=0644
|
||||||
when: not inventory_hostname.startswith(('mirrorlist','copr'))
|
when: not inventory_hostname.startswith(('mirrorlist','copr'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue