Add windows role

Set up network interfaces and SSH for Windows hosts.

We can’t gather facts before we know which remote shell to use, so
first run a win_ping to determine if a given host is running Windows.
This commit is contained in:
Timotej Lazar 2025-05-09 17:03:53 +02:00
parent aa78b407c8
commit 91de26af57
7 changed files with 123 additions and 21 deletions

View file

@ -8,6 +8,7 @@
roles:
- { role: alpine, when: ansible_distribution == 'Alpine' }
- { role: debian, when: ansible_distribution == 'Debian' }
- { role: windows, when: ansible_os_family == 'Windows' }
# hosts
- hosts: mgmt-gw