Skip to content

Commit

Permalink
Fix for jfrog#361 postgres_rpmkey_url
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Jan 4, 2024
1 parent c5ff527 commit da6ec35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ postgres_listen_addresses: 0.0.0.0
# Default port of Postgres server
postgres_port: 5432

# Location of GPG key used to sign the RPMs
postgres_rpmkey_url: "https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL"

# Server version in package:
postgres_server_pkg_version: "{{ postgres_version | replace('.', '') }}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
- name: Import PostgreSQL GPG public key
become: true
ansible.builtin.rpm_key:
key: https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG
key: "{{ postgres_rpmkey_url }}"
state: present
register: download_postgresql_key
until: download_postgresql_key is success
Expand Down

0 comments on commit da6ec35

Please sign in to comment.