Automating Microsoft Windows servers using Ansible
As I mentioned earlier, Ansible is only available for Linux/Unix platforms, but that doesn’t mean you can’t use Ansible to automate Microsoft Windows machines. It is possible to use Ansible on a Linux/Unix machine (the Ansible control node) and automate your Microsoft Windows machines like so:
Figure 6.6 – Ansible and managed nodes
Multiple Ansible Content Collections can be used for Microsoft Windows automation. Altogether, there are more than 100 Ansible modules available for automating Microsoft Windows tasks:
- Ansible modules for Microsoft Windows from the community (https://galaxy.ansible.com/community/windows) contains 84 modules.
- The Ansible Windows module from Red Hat (https://galaxy.ansible.com/ansible/windows) contains 40 modules.
In the next few sections, you will learn more about Ansible Windows automation, such as the supported Microsoft Windows versions,...