Hi,
can you please share the output of:
# ansible --version
# rpm -qa | grep ovirt-hosted-engine-setup
# rpm -qa | grep ovirt-ansible-collection
# ansible -m firewalld -a state=enabled localhost -e 'ansible_python_interpreter=/usr/bin/python3'


On Tue, May 24, 2022 at 12:15 PM <paul.chapman@farmgroup.tv> wrote:
Thanks Didi.

I've edited ansible.cfg to hardwire the interpreter path but I still get the error when trying to deploy the SHE.

ansible -m firewalld -a state=enabled localhost

Returns

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)"

and 

ansible -m firewalld -a state=enabled -c local -i localhost, all

returns

[WARNING]: Platform linux on host localhost is using the discovered Python interpreter at /usr/bin/python3.8, but future installation of
another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.12/reference_appendices/interpreter_discovery.html
for more information.
localhost | FAILED! => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3.8"
    },
    "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)"

Thanks for your reply by the way. It's really appreciated.

Paul.

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
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/users@ovirt.org/message/VHQAUYLSNDX5UIP4FJLU2Z3V4FZFDVXJ/