Add firewall entry
This commit is contained in:
parent
9e5f9e5e04
commit
c8889be531
2 changed files with 15 additions and 1 deletions
10
tasks/firewall.yml
Normal file
10
tasks/firewall.yml
Normal 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
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Create Download dirs
|
- name: Create Download dirs
|
||||||
ansile.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: 'directory.yml'
|
file: 'directory.yml'
|
||||||
|
|
||||||
- name: Download OBS Studio Exporter
|
- name: Download OBS Studio Exporter
|
||||||
|
@ -10,3 +10,7 @@
|
||||||
- name: Install OBS Exporter
|
- name: Install OBS Exporter
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: 'install.yml'
|
file: 'install.yml'
|
||||||
|
|
||||||
|
- name: Configure Windows Firewall
|
||||||
|
ansible.builtin.include_tasks:
|
||||||
|
file: 'firewall.yml'
|
||||||
|
|
Loading…
Reference in a new issue