Skip to content

Commit b08d98c

Browse files
committed
Logrotate an auth logfile
1 parent a6b4f30 commit b08d98c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/var/log/postgresql/auth-failures.csv {
2+
size 10M
3+
rotate 5
4+
compress
5+
delaycompress
6+
notifempty
7+
missingok
8+
}

ansible/playbook.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
- { file: "logrotate-postgres-csv.conf" }
122122
- { file: "logrotate-postgres.conf" }
123123
- { file: "logrotate-walg.conf" }
124+
- { file: "logrotate-postgres-auth.conf" }
124125

125126
- name: Disable cron access
126127
copy:

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "14.1.0.32"
1+
postgres-version = "14.1.0.33"

0 commit comments

Comments
 (0)