mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
pagure: Update the tasks for logrotate.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user