Repo installations will add PGP keys

This commit is contained in:
Sam A. 2024-01-06 17:19:51 +01:00
parent 0ba0a6d1c9
commit 6592020863
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
2 changed files with 0 additions and 11 deletions

View File

@ -1,12 +1,6 @@
# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Add Docker PGP key
ansible.builtin.rpm_key:
key: https://download.docker.com/linux/centos/gpg
fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
state: present
- name: Add Docker repository
ansible.builtin.yum_repository:
name: docker-ce-stable

View File

@ -1,11 +1,6 @@
# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Import RPM key for PostgreSQL repository
ansible.builtin.rpm_key:
key: https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG
state: present
- name: Add PostgreSQL repository
ansible.builtin.dnf:
name: https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm