---
- name: Firewall rule to allow SSH on TCP port 22
community.windows.win_firewall_rule:
name: SSH
localport: 22
action: allow
direction: in
protocol: tcp
state: present
profiles: domain,private,public
enabled: true
register: _fw