servers/roles/windows/handlers/main.yml
Timotej Lazar 91de26af57 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.
2025-05-09 17:26:07 +02:00

5 lines
117 B
YAML

- name: restart sshd
win_service:
name: sshd
state: restarted
when: "'handler' not in ansible_skip_tags"