Create directory for rsyslog archival storage
This commit is contained in:
parent
9232d1e761
commit
885a37ee0a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user