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.