mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 03:35:45 +02:00
Update to 2024-10-11 23:00
This commit is contained in:
@@ -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') }}"
|
||||
...
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user