Configuration Management Tool

Ansible: No python interpreters found for the host

Ansible

As you can see from the error, python is not present in the target machine.
This error is false!

Note: Starting in version 1.7, Ansible also contains support for managing Windows machines. This uses native PowerShell remoting, rather than SSH.
When Ansible runs from a Linux control machine, it uses the “WinRM” Python module to talk to remote hosts.

No python interpreters found for the host


– No additional software is needed on the remote machines for Ansible to run. It still maintains the agentless properties that make it popular on Linux/Unix.

Also, on Linux, all major Linux distribution have Python 2 or 3 or both installed by default. Therefore, python is not the problem.

Solution: Take a look at your playbook!
– I had some modules of the No Python interpreters found for the host that weren’t meant to run on Windows in my playbook. As such, the above errors were prompted.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x