package by design only supports very basic options that are available on
all package managers. If you want to do non-generic things like disabling
GPG checks you should use the underlying modules directly.
On Thursday, November 18, 2021 at 8:45:22 PM UTC-5 j.darby@gmail.com
wrote:
> Okay,
Okay, but the package module doesn't have a disable_gpg_check setting. So,
previously (CentOS 7), you could install an unsigned package from a file
with the package module. Now, you can't. You have to use either the dnf
module or the yum module on CentOS 8/RHEL 8 to install an unsigned
That is correct. The module explicitly only evaluates whether
`disable_gpg_check` is set or not. It does not respect the system
configuration.
On Thu, Nov 18, 2021 at 3:36 PM Darby Mitchell
wrote:
> I ran into a problem that I think is a bug, but I saw that I should bring
> it up as a question
I ran into a problem that I think is a bug, but I saw that I should bring
it up as a question on the mailing list first. So, my question is, is it
expected behavior for ansible.builtin.package, ansible.builtin.yum and
ansible.builtin.dnf to ignore the localpkg_gpgcheck setting in