syslogd: Lint fix and better syntax for logrotate

This commit is contained in:
Timo Makinen 2022-02-25 17:23:06 +00:00
parent 5b2ccd99c6
commit 7a024826ae

View file

@ -24,7 +24,8 @@
lineinfile:
path: /etc/newsyslog.conf
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:
- name: configure certificates for remote logging