Skip to content

Commit 9d36ad6

Browse files
committed
Fix gpgkey for RedHat PostgreSQL repos
Signed-off-by: Webster Mudge <wmudge@cloudera.com>
1 parent ff699fc commit 9d36ad6

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

roles/postgresql_server/tasks/RedHat_pre.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@
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: >-
23-
https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-
24-
{{ (ansible_architecture in ['aarch64', 'arm64']) | ternary('AARCH64-', '') }}
25-
RHEL
22+
gpgkey: "https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-{{ (ansible_architecture in ['aarch64', 'arm64']) | ternary('AARCH64-', '') }}RHEL"
2623
tags: molecule-idempotence-notest
2724

2825
- name: Install PostgreSQL version repository
@@ -31,10 +28,7 @@
3128
name: pgdg
3229
description: PostgreSQL {{ postgresql_version }} for RHEL/CentOS
3330
baseurl: "https://download.postgresql.org/pub/repos/yum/{{ postgresql_version }}/redhat/rhel-$releasever-$basearch"
34-
gpgkey: >-
35-
https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-
36-
{{ (ansible_architecture in ['aarch64', 'arm64']) | ternary('AARCH64-', '') }}
37-
RHEL
31+
gpgkey: "https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-{{ (ansible_architecture in ['aarch64', 'arm64']) | ternary('AARCH64-', '') }}RHEL"
3832
tags: molecule-idempotence-notest
3933

4034
- name: Disable default Postgres module in RHEL 8 or greater

0 commit comments

Comments
 (0)