Skip to content

Commit 6852bcd

Browse files
conscribtorMrMegaNova
authored andcommitted
update pgdg repository and gpg key url
On the 3 January 2024, PostgreSQL has updated their RPM GPG keys: https://yum.postgresql.org/news/pgdg-rpm-repo-gpg-key-update/
1 parent 8ec3675 commit 6852bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,11 +802,11 @@ postgresql_apt_pin_priority: 500
802802

803803
# YUM repository locations
804804
postgresql_yum_repository_url: "http://yum.postgresql.org"
805-
postgresql_pgdg_repository_url: "https://download.postgresql.org/pub/repos/yum/"
805+
postgresql_pgdg_repository_url: "https://download.postgresql.org/pub/repos/yum"
806806

807807
# YUM (RedHat, CentOS, etc.) baseurl/gpgkey
808808
postgresql_yum_repository_baseurl: "{{ postgresql_yum_repository_url }}/{{ postgresql_version }}/{{ ansible_os_family | lower }}/rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}"
809-
postgresql_yum_repository_gpgkey: "{{ postgresql_pgdg_repository_url }}/RPM-GPG-KEY-PGDG-{{ postgresql_version_terse }}"
809+
postgresql_yum_repository_gpgkey: "{{ postgresql_pgdg_repository_url }}/keys/PGDG-RPM-GPG-KEY-RHEL"
810810

811811
# DNF (Fedora) baseurl/gpgkey
812812
postgresql_dnf_repository_baseurl: "{{ postgresql_yum_repository_url }}/{{ postgresql_version }}/fedora/fedora-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}"

0 commit comments

Comments
 (0)