Here are the answers to some common Ansible/Windows questions:
Please Subscribe to my Channel: https://bit.ly/lon_sub
Walkthrough/Tutorial to setup Ansible to manage Windows Hosts: https://youtu.be/aPN18jLRkJI
The Questions:
1) Can you install Ansible on Windows?
2) What versions of Windows are supported by Ansible?
3) Can I use SSH KEYs to authenticate to a windows host?
4) What can Ansible run on Windows?
5) Can I connect to Windows hosts over SSH?
6) Is WinRM secure?
————
** UPDATE **
If you install the Win32 OpenSSH package, you can then use SSH Keys to authenticate to Windows
————
All the links:
Ansible FAQ: https://docs.ansible.com/ansible/latest/user_guide/windows_faq.html
Ansible Windows Collection: https://galaxy.ansible.com/ansible/windows
Setup a Windows Host: https://docs.ansible.com/ansible/latest/user_guide/windows_setup.html#windows-setup
Walkthrough/Tutorial to setup Ansible to manage Windows Hosts: https://youtu.be/aPN18jLRkJI
source
Does anyone know if windows server 2022 is formally supported ? Can't find anything in the docs that explicitly says it is. Was wondering if it was just a case of out of date documentation
Hey, just to point out, that if you install the Win32 OpenSSH package, you can then use SSH Keys to authenticate to Windows. That's how we're doing it where I work, and we're using SSH Certificates to create Keys that have short validity periods, that allow enough to time to complete the task before becoming invalid. This works best with the latest Win32 OpenSSH obtained from MS's GitHub repo as the versions built into Server 2019/2022 are a bit behind.
Hi Dennis how can use ansible to deploy VMS in azure from azure shell