mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
dnf properly gpg check local packages based on param (#47455)
* dnf properly gpg check local packages based on param Fixes #43624 Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -489,6 +489,7 @@ class DnfModule(YumDnf):
|
||||
|
||||
# Set whether to check gpg signatures
|
||||
conf.gpgcheck = not disable_gpg_check
|
||||
conf.localpkg_gpgcheck = not disable_gpg_check
|
||||
|
||||
# Don't prompt for user confirmations
|
||||
conf.assumeyes = True
|
||||
|
||||
Reference in New Issue
Block a user