Ask Your Question
1

ansible dnf module

asked 2015-05-07 07:40:08 -0500

jorti gravatar image

I'm trying to install packages in a remote machine using the dnf module for ansible, but it fails with this error:

# ansible -m dnf -a "name=htop" host
host | FAILED >> {
    "failed": true,
    "msg": "Failure talking to dnf: 'Base' object has no attribute 'rpmdb'"
}

Any idea?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-05-07 10:14:00 -0500

jorti gravatar image

After installing yum-utils, it works.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2015-05-07 07:40:08 -0500

Seen: 1,100 times

Last updated: May 07 '15