forked from rc/classroom
13 lines
332 B
YAML
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
|