syslogd: Lint fix and better syntax for logrotate
This commit is contained in:
parent
5b2ccd99c6
commit
7a024826ae
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/newsyslog.conf
|
path: /etc/newsyslog.conf
|
||||||
regexp: "^/var/log/all.log.*"
|
regexp: "^/var/log/all.log.*"
|
||||||
line: "/var/log/all.log root:{{ ansible_wheel }}\t640 7 * $D0 Z"
|
line: |-
|
||||||
|
/var/log/all.log root:{{ ansible_wheel }} 640 7 * $D0 Z
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: configure certificates for remote logging
|
- name: configure certificates for remote logging
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue