rpm_key: Fedora 22: Failed to find required executable gpg

The rpm_key module fails on Fedora 22 due to missing gpg binary.

Fedora 22 has no gpg executable but only gpg2.

Is it my responsibility to provide a link gpg -> gpg2 or should the
module cover this out of the box?

open a bug, first I'm not sure rpm_key should be used on fedora 22 as
it has switched to dnf as it's default package manager, 2nd the
rpm_key should fallback to the gpg2 name if gpg is not found.

open a bug, first I'm not sure rpm_key should be used on fedora 22
as it has switched to dnf as it's default package manager, 2nd the
rpm_key should fallback to the gpg2 name if gpg is not found.

for those interested in Fedora 22 as well, these are the tickets:

https://github.com/ansible/ansible-modules-core/issues/1796
https://github.com/ansible/ansible-modules-core/issues/1797