[Rpm-ecosystem] DNF module for Ansible rewrite

Pavel Odvody podvody at redhat.com
Tue Jul 7 12:34:11 UTC 2015


at [1] is a re-implementation of the DNF module for Ansible using
exclusively DNF's APIs.
I have one question though, in the original code there was this [2],
which seems to try to search outstanding transactions for those
involving the specified packages; does that even make sense to try to do
this? First it feels like bypassing the DNF API in the first place,
second since there's no way to resolve the issue through Ansible/DNF
alone the error message will be particularly unhelpful.

I've tested the code with basic commands and playbooks so I'd appreciate
if anyone could help me with testing this :)

[1]: https://github.com/shaded-enmity/ansible-modules-extras/blob/SE/dnf/packaging/os/dnf.py
[2]: https://github.com/ansible/ansible-modules-extras/blob/devel/packaging/os/dnf.py#L349

Pavel Odvody <podvody at redhat.com>
Software Engineer - EMEA ENG Developer Experience
5EC1 95C1 8E08 5BD9 9BBF 9241 3AFA 3A66 024F F68D
Red Hat Czech s.r.o., Purkyňova 99/71, 612 45, Brno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.rpm.org/pipermail/rpm-ecosystem/attachments/20150707/7ab26512/attachment.asc>

More information about the Rpm-ecosystem mailing list