Skip to content
Snippets Groups Projects
Commit 880767d8 authored by shirenn's avatar shirenn 🌊
Browse files

[logall] Quick fixes

parent bc8d57f7
No related branches found
No related tags found
1 merge request!327[logall] Quick fixes
---
- name: Deploy firewall rsyslog
template:
src: rsyslog.d/10-firewall.conf.j2
dest: /etc/rsyslog.d/10-firewall.conf
mode: 0644
owner: root
group: root
- name: Create firewall log directory
file:
path: /var/log/firewall
......@@ -15,6 +7,15 @@
group: root
state: directory
- name: Deploy firewall rsyslog
template:
src: rsyslog.d/10-firewall.conf.j2
dest: /etc/rsyslog.d/10-firewall.conf
mode: 0644
owner: root
group: root
notify: systemctl restart rsyslog
- name: Deploy firewall logrotate
template:
src: logrotate.d/firewall.j2
......@@ -22,3 +23,4 @@
mode: 0644
owner: root
group: root
notify: systemctl restart logrotate.service
......@@ -19,6 +19,6 @@
dateformat %Y-%m-%d.
extension log
postrotate
usr/lib/rsyslog/rsyslog-rotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment