Compare commits

...

2 commits

2 changed files with 12 additions and 0 deletions

View file

@ -1,9 +1,11 @@
# Using the ansible scripts
Ansible playbooks for deploying classroom computers. Run with something like:
ansible-playbook --user <local admin> -k -K -i inventory.yml setup.py
or, for Apple computers:
ansible-playbook --user <local admin> -k -K -i inventory.yml macsetup.py
# How classroom computers are prepared at FRI

View file

@ -1,3 +1,13 @@
- 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