Ensure gnupg is installed before repo configuration

Add a task in openstack_hosts_configure_dnf to install gnupg
so GPG key and repository management works on all hosts.

Change-Id: Ieca8a399f931fe5f077d27cd1e17b7369cdd0fc9
Signed-off-by: Dmitriy Chubinidze <dcu995@gmail.com>
This commit is contained in:
Dmitriy Chubinidze
2026-02-12 11:17:55 +00:00
parent 33bbb8d247
commit 672d1fdee0

View File

@@ -30,6 +30,11 @@
mode: "0440"
src: sudoers.j2
- name: Ensure gnupg2 is installed
ansible.builtin.package:
name: gnupg2
state: present
# Copy all factored-in GPG keys.
# KeyID 764429E6 from https://raw.githubusercontent.com/rdo-infra/centos-release-openstack/ocata-rdo/RPM-GPG-KEY-CentOS-SIG-Cloud
# KeyID 61E8806C from keyserver for rdo-qemu-ev