add munin role
This commit is contained in:
parent
9c3e3a00d3
commit
582b32b383
|
@ -17,6 +17,7 @@ sendmail_revaliases:
|
||||||
git: "{{ machine_from_email }}"
|
git: "{{ machine_from_email }}"
|
||||||
machine_from_email: "noreply+jake@nilsnh.no"
|
machine_from_email: "noreply+jake@nilsnh.no"
|
||||||
machine_notifications_receiver: "mail@nilsnh.no"
|
machine_notifications_receiver: "mail@nilsnh.no"
|
||||||
|
munin_master: true
|
||||||
forgejo_domain: "code.on.nilsnh.no"
|
forgejo_domain: "code.on.nilsnh.no"
|
||||||
forgejo_from: "\"Forgejo at nilsnh.no\" <{{ machine_from_email }}>"
|
forgejo_from: "\"Forgejo at nilsnh.no\" <{{ machine_from_email }}>"
|
||||||
firewall_allowed_ports:
|
firewall_allowed_ports:
|
||||||
|
|
15
roles/munin/tasks/main.yml
Normal file
15
roles/munin/tasks/main.yml
Normal 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
|
||||||
|
|
Loading…
Reference in a new issue