add munin role

This commit is contained in:
Nils Norman Haukås 2024-04-23 09:50:40 +02:00
parent 9c3e3a00d3
commit 582b32b383
2 changed files with 16 additions and 0 deletions

View File

@ -17,6 +17,7 @@ sendmail_revaliases:
git: "{{ machine_from_email }}"
machine_from_email: "noreply+jake@nilsnh.no"
machine_notifications_receiver: "mail@nilsnh.no"
munin_master: true
forgejo_domain: "code.on.nilsnh.no"
forgejo_from: "\"Forgejo at nilsnh.no\" <{{ machine_from_email }}>"
firewall_allowed_ports:

View File

@ -0,0 +1,15 @@
---
- name: install munin
ansible.builtin.package:
name:
- munin
state: present
when: munin_master is true
- name: install munin-node for monitoring
ansible.builtin.package:
name:
- munin-node
state: present