DOS Command:
Install python
pip install ansible
...
apt-get install openssh-server #( to enable SSH )
apt-get install openssh-client build-essential
apt-get install libffi-dev libxslt-dev libssl-devapt-get install git
pip install jxmlease
pip install junos-eznc
# ( for access to junos )
ansible-galaxy install Juniper.junos
# ( for access to junos )
>>> quick test:
#ansible localhost -m setup
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