Update to 2024-10-11 23:00

This commit is contained in:
Daniel Berteaud
2024-10-11 23:00:27 +02:00
parent 0be098e7c6
commit a01e7abc5f
10 changed files with 17 additions and 14 deletions

View File

@@ -4,4 +4,6 @@ repo_postgres: True
# Only available for CentOS >= 8
# if True, will switch to the CentOS Stream repo
repo_centos_stream: False
repo_pg_client_version: "{{ (ansible_os_family == 'RedHat' and ansible_distribution_major_version is version('8', '<')) | ternary('15','16') }}"
...

View File

@@ -1,9 +1,9 @@
[postgresql-client]
baseurl = https://download.postgresql.org/pub/repos/yum/16/redhat/rhel-$releasever-$basearch
baseurl = https://download.postgresql.org/pub/repos/yum/{{ repo_pg_client_version }}/redhat/rhel-{{ ansible_distribution_version }}-$basearch
gpgcheck = 1
gpgkey = https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL
name = PostgreSQL Client
includepkgs = postgresql16 postgresql16-libs
includepkgs = postgresql{{ repo_pg_client_version }} postgresql{{ repo_pg_client_version }}-libs
{% if ansible_os_family == 'RedHat' and ansible_distribution_major_version is version('8', '>=') %}
# Workaround a bug in dnf which would make the default module mask packages from postgres repo
module_hotfixes = true