Create directory for rsyslog archival storage

This commit is contained in:
Ryan Cavicchioni 2019-11-22 21:08:34 -06:00
parent 9232d1e761
commit 885a37ee0a
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -25,6 +25,14 @@
state: absent state: absent
when: rsyslog_archival_format_enabled when: rsyslog_archival_format_enabled
- name: create /var/log/syslog
file:
path: /var/log/syslog
owner: syslog
group: adm
mode: 0750
state: directory
- name: configure archival format - name: configure archival format
template: template:
src: archival.conf.j2 src: archival.conf.j2