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
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
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 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
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
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