--- # ssh-hardening / windows / t1 "Standard" # # The quick start as a role, with algorithm lists, group limits, a firewall # rule narrowed to your management networks, and the default shell. # # ansible-galaxy collection install -r requirements.yml # # group_vars/windows.yml # win_ssh_hardening_allow_groups: ["administrators", "corp\\ssh-admins"] # win_ssh_hardening_allowed_networks: ["10.20.0.0/24"] # # Run: # ansible-playbook -i inventory.ini site.yml --check --diff # ansible-playbook -i inventory.ini site.yml - name: Harden OpenSSH Server hosts: all gather_facts: false roles: - role: win_ssh_hardening tags: [ssh]