From 6592020863a977254a3cec6ac8c5e0aec5bace92 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sat, 6 Jan 2024 17:19:51 +0100 Subject: [PATCH] Repo installations will add PGP keys --- roles/docker/tasks/main.yml | 6 ------ roles/postgresql/tasks/main.yml | 5 ----- 2 files changed, 11 deletions(-) diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 8d3ca60..a26d08f 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -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 diff --git a/roles/postgresql/tasks/main.yml b/roles/postgresql/tasks/main.yml index 9dc3683..4881520 100644 --- a/roles/postgresql/tasks/main.yml +++ b/roles/postgresql/tasks/main.yml @@ -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