Compare commits
2 commits
662d47db56
...
60ad70a09f
| Author | SHA1 | Date | |
|---|---|---|---|
| 60ad70a09f | |||
| e85524eb7c |
2 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue