Update to 2021-03-01 10:00

master
Daniel Berteaud 4 years ago
parent 273138f664
commit ede2b1adcc
  1. BIN
      roles/pgadmin4/defaults/.main.yml.swp
  2. 3
      roles/pgadmin4/tasks/conf.yml
  3. 8
      roles/pgadmin4/templates/logrotate.conf.j2

@ -21,3 +21,6 @@
when: not pga_db.stat.exists when: not pga_db.stat.exists
tags: pgadmin4 tags: pgadmin4
- name: Configure logrotate
template: src=logrotate.conf.j2 dest=/etc/logrotate.d/pgadmin4_{{ pga_id }}
tags: pgadmin4

@ -0,0 +1,8 @@
{{ pga_root_dir }}/logs/*.log {
daily
rotate 180
compress
notifempty
missingok
copytruncate
}
Loading…
Cancel
Save