Ask Your Question

Revision history [back]

ansible dnf module

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?