windows: set up firewall

This commit is contained in:
Timotej Lazar 2025-05-11 12:54:26 +02:00
parent 91de26af57
commit 66298da9c7
4 changed files with 68 additions and 2 deletions

View file

@ -1,9 +1,13 @@
- include_tasks: interface.yml
- name: Set up interfaces
include_tasks: interface.yml
loop: "{{ interfaces }}"
loop_control:
label: "{{ interface.name }}"
loop_var: interface
- name: Set up firewall
include_tasks: firewall.yml
- name: Disable SSH password authentication
win_lineinfile:
path: c:\ProgramData\ssh\sshd_config