Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ansible/artifactory] Fix for #361 postgres_rpmkey_url #362

Merged
merged 3 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Ansible/ansible_collections/jfrog/platform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# JFrog Platform Ansible Collection Changelog
All changes to this collection will be documented in this file.

## [10.16.5] - Jan 01, 2024
* Postgres - change to the new location of the RPM GPG key URL.

## [10.16.4] - Dec 21, 2023
* Artifactory - Upgrade version when tar is already present [GH-356](https://github.com/jfrog/JFrog-Cloud-Installers/pull/356)
* Product Updates/fixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ postgres_allowed_hosts:

**Update this variable to only allow access from Artifactory, Distribution, Insight and Xray.**


Since 2024-01-03 the GPG key has a new location.
```
postgres_rpmkey_url: "https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL"
```
## Example Playbook
```
---
Expand All @@ -23,4 +28,4 @@ postgres_allowed_hosts:
- community.general
roles:
- postgres
```
```
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
Loading