In the previous post, we discussed about what is Ansible and what are it's benefits. In this post, let's discuss how to install Ansible on Windows server.
There are multiple ways to install Ansible on a Windows server. However in this post, I'll be using Cygwin to install Ansible on Windows. Cygwin is a POSIX-compatible environment to run on Windows. This means you can run many things on Windows, which you usually do on UNIX-based OS.
1. Download Cygwin
2. Run the installation file downloaded in above step.
3. Select the download source as 'Install from Internet'.
4. Select the root directory where you want to install this application
5. Select the directory where you want to install the packages
6. Select Direct Connection if you are not using any proxy.
7. Select a mirror to download your packages. You can choose any from the list.
8. Packages available for installation will be shown here. This is where you need to select Ansible. Select View as Full from the drop down and then search for 'ansible'. Select the latest version as shown below.
ansible-doc is optional. Click Next
9. Review and confirm changes by clicking Next
10. It will download and install the necessary packages.
11. Once done, you will get a success message, click Finish.
12. Double click on the Cygwin Terminal icon on the desktop and run a command ansible --version to verify the ansible version
You have now successfully installed Ansible on Windows.
I hope this will help you to install Ansible on Windows.
Thank you for reading!
*** Explore | Share | Grow ***
Comments