# How to install Ansible on a windows 2012 R server

**URL:** <https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [August 24, 2020, 5:49am UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660 "2020-08-24T05:49:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![surabhy\_vaishakh](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Post date:** [August 24, 2020, 5:49am UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660/1 "2020-08-24T05:49:28Z")

</div>

Hello Team,

Can any one help me to get steps to install ansible on a windows 2012 R server.

Thanks,  
Surabhy

---

<div class="post-metadata">

**Author:** ![Kiran\_Kumar](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Post date:** [August 27, 2020, 6:36am UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660/2 "2020-08-27T06:36:52Z")

</div>

I would suggest use Linux as your control host. You mean you want Ansible to manage Windows OS configs ?

---

<div class="post-metadata">

**Author:** ![Gopal\_Dhapa](https://avatars.discourse-cdn.com/v4/letter/g/dec6dc/32.png) [@Gopal\_Dhapa](https://forum.ansible.com/u/Gopal_Dhapa)\
**Post date:** [August 27, 2020, 6:43am UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660/3 "2020-08-27T06:43:32Z")

</div>

Hi ,

Please use below link.

[https://argonsys.com/microsoft-cloud/articles/configuring-ansible-manage-windows-servers-step-step/](https://argonsys.com/microsoft-cloud/articles/configuring-ansible-manage-windows-servers-step-step/)

Thanks & Regards  
Gopal Dhapa

---

<div class="post-metadata">

**Author:** ![surabhy\_vaishakh](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Post date:** [August 27, 2020, 10:15am UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660/4 "2020-08-27T10:15:28Z")

</div>

I want to install ansible inside a windows server. Which will act as ansible master.

---

<div class="post-metadata">

**Author:** ![jborean](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jborean/32/1525_2.png) [@jborean](https://forum.ansible.com/u/jborean)\
**Post date:** [August 31, 2020, 8:36pm UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660/5 "2020-08-31T20:36:55Z")

</div>

You cannot really do that. The only option would be to run it in something like WSL but even then there are caveats. You should be using a Linux host to run the Ansible control node.

---

<div class="post-metadata">

**Author:** ![Stephen\_John\_Smoogen](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@Stephen\_John\_Smoogen](https://forum.ansible.com/u/Stephen_John_Smoogen)\
**Post date:** [August 31, 2020, 8:50pm UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660/6 "2020-08-31T20:50:59Z")

</div>

> You cannot really do that. The only option would be to run it in something like WSL but even then there are caveats. You should be using a Linux host to run the Ansible control node.

I don’t think they can run WSL in Windows 2012. They might be able to deploy cygwin and then use it and the cygwin ssh as a control master. Though the power shell and other items in it may also be too old for ansible’s powershell configuration.
