File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1047,6 +1047,10 @@ cron_jobs: []
10471047# weekday: "*"
10481048# job: "echo 'example job two command'"
10491049
1050+ # Configure removal of the logrotate configuration file /etc/logrotate.d/postgresql-common
1051+ # when set to true, PostgreSQL log will NOT be rotated by logrotate.
1052+ disable_logrotate_for_postgresql : true # false => do not remove /etc/logrotate.d/postgresql-common, log will be rotated.
1053+
10501054# Configure mount points in /etc/fstab and mount the file system (if 'mount.src' is defined)
10511055mount :
10521056 - path : " /pgdata"
Original file line number Diff line number Diff line change 162162 ansible.builtin.file :
163163 dest : /etc/logrotate.d/postgresql-common
164164 state : absent
165+ when : disable_logrotate_for_postgresql | bool
165166
166167 - name : Install PostgreSQL packages
167168 ansible.builtin.apt :
You can’t perform that action at this time.
0 commit comments