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

@ -0,0 +1,5 @@
- name: restart sshd
win_service:
name: sshd
state: restarted
when: "'handler' not in ansible_skip_tags"