Skip to content

Commit c0b5d85

Browse files
authored
Update postgresql-RedHat.yml for GPG key location change (#188)
In Jan 2024, postgresql.org changed location of GPG keys. See https://yum.postgresql.org/news/pgdg-rpm-repo-gpg-key-update/ Signed-off-by: Chuck Levesque <[email protected]>
1 parent 6446141 commit c0b5d85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/infrastructure/rdbms/tasks/postgresql-RedHat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
name: pgdg-common
2020
description: PostgreSQL common for RHEL/CentOS
2121
baseurl: https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-$releasever-$basearch
22-
gpgkey: https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG
22+
gpgkey: https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL
2323
when: not (skip_rdbms_repo_setup | default(False))
2424

2525
- name: Install PostgreSQL version repository
2626
yum_repository:
2727
name: pgdg
2828
description: PostgreSQL {{ postgresql_version }} for RHEL/CentOS
2929
baseurl: https://download.postgresql.org/pub/repos/yum/{{ postgresql_version }}/redhat/rhel-$releasever-$basearch
30-
gpgkey: https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG
30+
gpgkey: https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL
3131
when: not (skip_rdbms_repo_setup | default(False))
3232

3333
- name: disable default Postgres module in Rhel 8

0 commit comments

Comments
 (0)