Sorry. My fault.
ansible -m firewalld -a state=enabled localhost -e
ansible_python_interpreter=/usr/bin/python3
returns
localhost | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: root@localhost: Permission
denied (publickey,gssapi-keyex,gssapi-with-mic,password).",
"unreachable": true
}
This is since I added the path /usr/bin/python to ansible.cfg. Previously it
returned
localhost | FAILED! => {
"changed": false,
"msg": "Python Module not found: firewalld and its python module are
required for this module, version 0.2.11 or newer
required (0.3.9 or newer for offline operations)"
}
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/AWQG5D2GN62JBVFDYZ6LF66JPVOQX64T/