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

11 lines
501 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
[postgresql-client]
2023-04-11 15:00:42 +02:00
baseurl = https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-$releasever-$basearch
2021-12-01 19:13:34 +01:00
gpgcheck = 1
2023-04-11 15:00:42 +02:00
gpgkey = https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-15
2021-12-01 19:13:34 +01:00
name = PostgreSQL Client
2023-04-11 15:00:42 +02:00
includepkgs = postgresql15 postgresql15-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 %}