Install Ansible using cygwin

0 votes
How do Install ansible using Cygwin on windows?
Jan 10, 2019 in Ansible by Esha

1 answer to this question.

0 votes

Follow these steps to install ansible using cygwin:

  • Download Cygwin
  • Run the cygwin installation file
  • Select download source as "Select from Internet"
  • Set a root directory where you would like your application installed
  • Select a directory where you would like to install your cygwin packages
  • Select Direct connection if you're not using proxy.
  • Select a mirror to download your packages
  • Packages available for installation will be shown, select their default packages and select next
  • The same for dependencies
  • Double-click on cygwin64 terminal icon
  • Execute these commands:
alias cyg-get="/cygdrive/d/path/to/cygwin/setup-x86_64.exe -q -P"
curl cygwin32-gcc-g++ 
gcc-core gcc-g++ git libffi-devel nano openssl openssl-devel python-crypto python2 python2-devel python2-openssl python2-pip python2-setuptools tree
pip install ansible

And tada, you're ready to use ansible. Hope it helps:)

answered Jan 10, 2019 by Kush
its not curl , use cyg-get gcc-g++ .....

Related Questions In Ansible

0 votes
2 answers

How do i install Ansible using virtualenv

Adding to @Mohit's answer,  For CentOS and RHEL: sudo ...READ MORE

answered Jan 10, 2019 in Ansible by Dikinson
0 votes
1 answer

Install git using Ansible

Installing git using ansible is pretty simple. ...READ MORE

answered Mar 15, 2019 in Ansible by Haider
0 votes
1 answer

How to install httpd web server in remote node using Ansible?

Hi@akhtar, You need to use the package module in Ansible. ...READ MORE

answered Jul 29 in Ansible by MD
• 43,440 points
0 votes
1 answer

How can I create a new user using ansible ploybook?

You're switching from the root user. Root ...READ MORE

answered Mar 29, 2018 in Ansible by DareDev
• 6,850 points
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Install mean stack on ubuntu using ansible

You can have three roles  under /etc/ansible/roles -prerequisites -mongodb -nodejs under /etc/ansible ...READ MORE

answered Mar 15, 2019 in Ansible by Janice