Linux host, windows servers. Cannot find python on windows servers

59 views
Skip to first unread message

cel...@live.com.sg

unread,
Jul 23, 2014, 1:52:41 AM7/23/14
to ansible...@googlegroups.com
Hi,
 
I have done key pair exchange with my linux host and windows servers. I saw that servers need python to be installed. Hence I installed python on my windows machine.
However, when i execute playbook command, this error shows:
/bin/sh: /usr/bin/python: No such file or directory.
 
My guess is ansible couldnt find python in windows /usr/bin directory. But windows will not have /usr/bin directory. How can I overcome this issue?
 
Thank you.
 
Celine

Tomasz Kontusz

unread,
Jul 23, 2014, 2:13:39 AM7/23/14
to ansible...@googlegroups.com
Windows support is a new feature in development branch of Ansible, and is documented here: http://docs.ansible.com/intro_windows.html
You shouldn't need python on the Windows machine, because modules for managing Windows use PowerShell.


--
Wysłane za pomocą K-9 Mail.
Reply all
Reply to author
Forward
0 new messages