Yes, DNF module works for ansible from the box. We worked at it for some time: https://github.com/ansible/ansible-modules-extras/pull/527

On Wed, Oct 14, 2015 at 4:28 PM Matthew Miller <mattdm@fedoraproject.org> wrote:
On Wed, Oct 14, 2015 at 08:40:19AM -0500, Pete Travis wrote:
> >> Beyond that, though, why not just have your ansible play ensure its own
> >> deps are installed? If you're dealing with docker, make sure the
> >> package you need is installed before you run any docker steps...
> > So, in other words, it seems acceptible to make this a documentation
> > problem? We should at least definitely make sure to have that
> > documentation.
> I haven't poked at this yet, but can add it to the release notes.  Can
> someone confirm that at least the dnf module works out of the box?

Cool. This seems like it'd also be a nice one for Future Awesome Short
Documentation Site. :) In the meantime, maybe it could be a Fedora
Magazine article (or part of a series?)

--
Matthew Miller
<mattdm@fedoraproject.org>
Fedora Project Leader
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
--

-Igor Gnatenko