ansible-roles/roles/repo_base/templates/postgresql-client.repo.j2

11 lines
508 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
[postgresql-client]
2024-01-04 17:00:34 +01:00
baseurl = https://download.postgresql.org/pub/repos/yum/16/redhat/rhel-$releasever-$basearch
2021-12-01 19:13:34 +01:00
gpgcheck = 1
2024-01-04 17:00:34 +01:00
gpgkey = https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL
2021-12-01 19:13:34 +01:00
name = PostgreSQL Client
2024-01-04 17:00:34 +01:00
includepkgs = postgresql16 postgresql16-libs
2021-12-01 19:13:34 +01:00
{% 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
{% endif %}