Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

DOS Command:

Install python
pip install ansible

...

PATH=/drives/c/cygwin64/bin/:$PATH
replace alias: alias python='ToolNotIncluded python' >>> alias python='/drives/c/cygwin64/bin/python2.7.exe'

apt-get install python-paramiko gcc-g++ wget openssh curl python python-devel python-setuptools python-crypto openssl openssl-devel libffi-devel gcc-g++ python2-openssl gcc-core make
apt-get install python  #will be 2.7

...

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