postgresql_server: do not install our current postgresql.conf on RHEL8
Our postgresql.conf is from postgresql 9.2 while RHEL8 ships 10.x which leads to postgresql no longer wanting to start (as seen on pagure-stg01). Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
e7673a2538
commit
13ad0cea66
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@
|
|||
|
||||
- name: postgresql config template
|
||||
template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf
|
||||
when: (ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat') or ansible_distribution != 'RedHat'
|
||||
notify:
|
||||
- restart postgresql
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue