Commit 4e6d508
committed
fix: move pgbackrest logrotate config to follow repo convention
- Move from pgbackrest_config/ to logrotate_config/ to match the
existing pattern for all other logrotate configs in the repo
- Deploy via the finalize-ami.yml loop rather than setup-pgbackrest.yml
- Add size 50M cap to prevent logs growing unbounded between daily
rotations during large backup/restore operations1 parent f7aa104 commit 4e6d508
3 files changed
Lines changed: 2 additions & 8 deletions
File tree
- ansible
- files/logrotate_config
- tasks
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 113 | | |
122 | 114 | | |
123 | 115 | | |
| |||
0 commit comments