mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
11
roles/repo_postgresql/templates/postgresql.repo.j2
Normal file
11
roles/repo_postgresql/templates/postgresql.repo.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
{% if pg_version != 'default' %}
|
||||
[postgresql]
|
||||
baseurl = https://download.postgresql.org/pub/repos/yum/{{ pg_version }}/redhat/rhel-$releasever-$basearch
|
||||
gpgcheck = 1
|
||||
gpgkey = https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ pg_version }}
|
||||
name = PostgreSQL
|
||||
{% 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 %}
|
||||
{% endif %}
|
Reference in New Issue
Block a user