Use a container ( + PyEZ)
DOS Command:
Install python
pip in
stall 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
sudo pip install junos-eznc
pip install junos-eznc # ( for access to junos )
#ansible-galaxy will download and "install" the role, "init" will only create the intrastucture of a new roleansible-galaxy install Juniper.junos # ( for access to junos )
>>> quick test: #ansible localhost -m setup
...
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