Skip to content

Commit

Permalink
add rpm key
Browse files Browse the repository at this point in the history
  • Loading branch information
mtangaro committed Mar 28, 2022
1 parent 82659c7 commit 826bd3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/postgresql_redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
src: 'pgdg-96.repo'
dest: '/etc/yum.repos.d/pgdg-96.repo'

- name: '[EL] Install postgresql repository GPG key'
rpm_key:
state: present
key: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-96'

- name: '[EL] Install postgresql {{ postgresql_version }}'
yum:
name: "{{ packages }}"
Expand Down

0 comments on commit 826bd3f

Please sign in to comment.