# Any possible way to setup Ansible on windows 10 without WSL

**URL:** <https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [October 25, 2020, 7:01pm UTC](https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103 "2020-10-25T19:01:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smart\_aquarius](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@smart\_aquarius](https://forum.ansible.com/u/smart_aquarius)\
**Post date:** [October 25, 2020, 7:01pm UTC](https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103/1 "2020-10-25T19:01:15Z")

</div>

Team,

I have few windows 10 production machines and python/pip is already installed in them. Is there any way to setup ansible in the machines without enabling windows subsytem for linux.

Please suggest!

Thank you

---

<div class="post-metadata">

**Author:** ![ebcak\_random](https://avatars.discourse-cdn.com/v4/letter/e/85e7bf/32.png) [@ebcak\_random](https://forum.ansible.com/u/ebcak_random)\
**Post date:** [October 25, 2020, 9:33pm UTC](https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103/2 "2020-10-25T21:33:03Z")

</div>

I am not aware of anyone utilising Ansible in this way or even if its possible. The requirements for Windows are well documented here [https://docs.ansible.com/ansible/latest/user\_guide/windows\_setup.html](https://docs.ansible.com/ansible/latest/user_guide/windows_setup.html) however the first and only question I would ask is why?  
I see it as wasted effort for a few machines, when it is better to utilise existing \*nix host/control nodes to communicate with your W10 over WinRM if you’re not going to use WSL.

I think the installation guides give away what Ansible is…

[https://docs.ansible.com/ansible/latest/installation\_guide/index.html](https://docs.ansible.com/ansible/latest/installation_guide/index.html) 🙂

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [October 25, 2020, 11:48pm UTC](https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103/3 "2020-10-25T23:48:56Z")

</div>

Assuming you mean using Windows 10 as the ansible controller node then no this is explicitly not possible:

[https://docs.ansible.com/ansible/latest/user\_guide/windows\_faq.html#can-ansible-run-on-windows](https://docs.ansible.com/ansible/latest/user_guide/windows_faq.html#can-ansible-run-on-windows)

---

<div class="post-metadata">

**Author:** ![Lasse\_Knudsen](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@Lasse\_Knudsen](https://forum.ansible.com/u/Lasse_Knudsen)\
**Post date:** [October 26, 2020, 5:18pm UTC](https://forum.ansible.com/t/any-possible-way-to-setup-ansible-on-windows-10-without-wsl/34103/4 "2020-10-26T17:18:01Z")

</div>

No that is not possible on Windows. But you can use a Linux VM on your local machine to run your playbooks against Windows machines via openSSH or WinRM.

We have created a vagrantfile in our project. That file will start a CentOS 8 machine in VirtualBox with ansible installed. We mount the project directory into that machine. Then we only need to log into the machine (vagrant ssh) and run the ansible playbooks against linux and windows machines. That works pretty good and we also can test our playbooks in our own local VM environment.

Regards  
Lasse
