From 6852bcd03948248eb72060abe87dd99f2b71d848 Mon Sep 17 00:00:00 2001 From: conscribtor Date: Tue, 16 Jan 2024 18:00:35 +0000 Subject: [PATCH] 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/ --- defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 7d362cb7..8ce26f9f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -802,11 +802,11 @@ postgresql_apt_pin_priority: 500 # YUM repository locations postgresql_yum_repository_url: "http://yum.postgresql.org" -postgresql_pgdg_repository_url: "https://download.postgresql.org/pub/repos/yum/" +postgresql_pgdg_repository_url: "https://download.postgresql.org/pub/repos/yum" # YUM (RedHat, CentOS, etc.) baseurl/gpgkey postgresql_yum_repository_baseurl: "{{ postgresql_yum_repository_url }}/{{ postgresql_version }}/{{ ansible_os_family | lower }}/rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}" -postgresql_yum_repository_gpgkey: "{{ postgresql_pgdg_repository_url }}/RPM-GPG-KEY-PGDG-{{ postgresql_version_terse }}" +postgresql_yum_repository_gpgkey: "{{ postgresql_pgdg_repository_url }}/keys/PGDG-RPM-GPG-KEY-RHEL" # DNF (Fedora) baseurl/gpgkey postgresql_dnf_repository_baseurl: "{{ postgresql_yum_repository_url }}/{{ postgresql_version }}/fedora/fedora-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}"