Don't mean to spam, but...
Hi,
first of all, thanks for the great work you have put into this project!
I couldn't find an alternative way to contact you, so I hope I'm not offending anyone by using this channel. Inspired by your work, I have created a new ansible gpg module, with support for GnuPG 2.x, setting custom trust levels and retrieving a bunch of information about installed keys. I thought about creating a pull request at first, but since I've basically rewritten everything from scratch, that seemed rather pointless.
This message isn't intended to promote my project over yours, I'm just hoping it will be useful to some people who may have run into the same issues as I have. The most prominent one being that setting the trust level doesn't work with this module when using GnuPG 2.x (default on Ubuntu 18), which is what triggered me in the first place.
If anyone is interested, please check out the project on Github: https://github.com/netson/ansible-gpg-key
Regards, Rinck