I am trying to install the Ansible open source automation platform on Windows. There are many guides out there for how to install Ansible using Cygwin (eg. 1, 2).
However, I already have Git-Bash installed on Windows 7 (from here).
Is it possible to install Ansible in Windows, inside Git-Bash.
EDIT:
UPDATE:
I had a lot of problems with Cygwin.
- I installed Cygwin.
- Then I did
pip install PyYAML, jinja, paramiko, cryptography, etc. I wanted to install the Ansible dependencies first and then dopip install ansibleonly at the end. It did not installparamikoandcryptographysuccessfully. Two packageslibffiandncurseswere found to be missing. I re-ran the Cygwin installer and installedlibffi. I could not findncurses. - I restarted Cygwin and re-tried
pip install paramiko cryptography. They did not install again and gave the same error message thatlibffiandncurseswere missing. At that point, I gave up and uninstalled Cygwin. I did not try it again.
EDIT 2: To answer this question, I did this:
- installed Virtualbox on Windows 7
- created a Virtualbox *buntu VM with LUbuntu 17.10
- installed all available system updates
- (optional) installed VirtualBox Linux guest additions (section 4.2.2.1 steps 2. and 3.)
pip install ansibleworked successfullyinstalled text editor in VM
With this setup, I do everything related to Ansible directly in the LUbuntu VM.