1
0
Fork 0
forked from rc/classroom
classroom/roles/prometheus-exporter/tasks/main_win.yml

13 lines
332 B
YAML

- name: Install prometheus exporter
win_chocolatey:
name: prometheus-windows-exporter.install
package_params: "/ListenPort:9100"
- name: Allow access to metrics
win_firewall_rule:
name: "Allow access to Prometheus metrics"
enabled: true
action: allow
direction: in
protocol: tcp
localport: 9100