Add firewall entry

This commit is contained in:
L3D 2024-02-28 01:12:39 +01:00
parent 9e5f9e5e04
commit c8889be531
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 15 additions and 1 deletions

10
tasks/firewall.yml Normal file
View file

@ -0,0 +1,10 @@
---
- name: Firewall rule to allow OBS-Studio Node-Exporter Monitoring on TCP port 9407
community.windows.win_firewall_rule:
name: obs-studio-monitoring
localport: 9407
action: allow
direction: in
protocol: tcp
state: present
enabled: true

View file

@ -1,6 +1,6 @@
---
- name: Create Download dirs
ansile.builtin.include_tasks:
ansible.builtin.include_tasks:
file: 'directory.yml'
- name: Download OBS Studio Exporter
@ -10,3 +10,7 @@
- name: Install OBS Exporter
ansible.builtin.include_tasks:
file: 'install.yml'
- name: Configure Windows Firewall
ansible.builtin.include_tasks:
file: 'firewall.yml'