Copy pgbackrest logrotate config as well
This commit is contained in:
parent
fbb5391eae
commit
05283b00ef
9
ubuntu/roles/pgbackrest-install/files/pgbackrest
Normal file
9
ubuntu/roles/pgbackrest-install/files/pgbackrest
Normal file
@ -0,0 +1,9 @@
|
||||
/var/log/pgbackrest/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 7
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 640 postgres postgres
|
||||
}
|
@ -32,3 +32,8 @@
|
||||
owner: postgres
|
||||
group: postgres
|
||||
mode: '0640'
|
||||
|
||||
- name: Copy pgbackrest logrotate configuration
|
||||
copy:
|
||||
src: pgbackrest
|
||||
dest: /etc/logrotate.d/pgbackrest
|
||||
|
Loading…
Reference in New Issue
Block a user