pagure: Update the tasks for logrotate.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
parent
3c4184912e
commit
dd4caad147
1 changed files with 9 additions and 3 deletions
|
@ -432,10 +432,16 @@
|
|||
- GDPR
|
||||
- pagure
|
||||
|
||||
- name: Override the default syslog logrotate file
|
||||
- name: Remove the default syslog logrotate file
|
||||
ansible.builtin.file: dest=/etc/logrotate.d/syslog state=absent
|
||||
tags:
|
||||
- pagure
|
||||
- logrotate
|
||||
|
||||
- name: Add our rsyslog logrotate file
|
||||
ansible.builtin.copy:
|
||||
src: syslog-logrotate
|
||||
dest: /etc/logrotate.d/syslog
|
||||
src: rsyslog-logrotate
|
||||
dest: /etc/logrotate.d/rsyslog
|
||||
mode: "0644"
|
||||
tags:
|
||||
- pagure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue