Installing python fail when installing on centos8 in cloud running on fedora32.
Summary
Installing python fail when installing on centos8 in cloud running on fedora32. This may possibly fail on other hosts running ansible.
Steps to reproduce
Run ansiblpe playbook that deploys infrastructure on cloud and try to install python
Expected behavior
playbook should end with success
Actual behavior
playbook fail
Relevant logs and/or screenshots
fatal: [worker1]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: /usr/bin/python: No such file or directory\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}
Possible fixes
set ansible_python_interpreter
before executing setup
which depends on python.