We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

Love Ansible, but wondering how to get it running on Windows?

Article image

Ansible is one of the most popular configuration administration and infrastructure automation tools.

It helps to automate infrastructure configuration/provisioning, software deployments, and general infrastructure management.

Ansible was initially available on Linux.

Article image

There are two possible ways to get it installed.

Installing Ansible Using Cygwin

Have you heard ofCygwin?

It is a POSIX-compatible environment to run on Windows.

Article image

If its the first time you heard about Cygwin then I would refer to theirofficial websiteto get more understanding.

The default Cygwin installation doesnt cover Ansible.

Hence, you got to select them during installation, as explained below manually.

Article image

You have installed Cygwin withAnsible on Windows.

And, as you might see, it has successfully installed.

Go ahead and play around with it.

Article image

If you are interested in learning Ansible, then check out thisUdemy course.

Installing Ansible Using Ubuntu on Windows 10

Thanks to Microsoft.

Now it is possible to install Ubuntu on Windows 10.

Article image

Lets get it started.

After the installation, lets test whether by creating and running a demo playbook.

And, finally, launch the playbook.

Article image

Conclusion

I hope this helps you to install Ansible on Windows.

Check out thisblog postto learn about the playbook to automate the tasks.

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image