ansible-roles/roles/repo_base/templates/postgresql-client.repo.j2
2024-10-11 23:00:27 +02:00

11 lines
609 B
Django/Jinja

[postgresql-client]
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 = 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
{% endif %}