DOS Command:
Install python
pip install ansible
...
apt-get install ansible
apt-get install python-pip
ansible --version
#pip install ansible --upgrade
apt-get install openssh-server #( to enable SSH )
MobaXterm 9.4
PATH=/drives/c/cygwin64/bin/:$PATH
replace alias: alias python='ToolNotIncluded python' >>> alias python='/drives/c/cygwin64/bin/python2.7.exe'
...
1- run bash as root ( in a normal cmd.exe type "lxrun /setdefaultuser root /y") original user was: onmylaptop
2-
3- pip install ansible --upgrade
Usage
ansible windows -m win_ping