postgresql_server: split out postgres15 config and tweak

db-koji01 is our only postgresql 15 install so far, but split out the
config from the 12 one we are using on RHEL8 to avoid making changes
there.

Also, lets try tweaking things:
- I am bumping cpus up to 88
- Tweak max workers/etc
- Try a higher i/o level since this db server is running on a virthost
  with ssds.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-06-02 17:59:12 -07:00
parent 0c81957b2d
commit eb3801edc7
3 changed files with 816 additions and 4 deletions

View file

@ -126,7 +126,16 @@
- name: postgresql config template (Fedora / el8 / postgresql 12)
template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf-12
when: (ansible_distribution_major_version|int > 7 and ansible_distribution == 'RedHat') or ansible_distribution != 'RedHat'
when: (ansible_distribution_major_version|int == 8 and ansible_distribution == 'RedHat') or ansible_distribution != 'RedHat'
notify:
- restart postgresql
tags:
- config
- postgresql
- name: postgresql config template (el9 / postgresql 15)
template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf-15
when: (ansible_distribution_major_version|int == 9 and ansible_distribution == 'RedHat')
notify:
- restart postgresql
tags: