diff --git a/host_vars/jake.box.nilsnh.no.yml b/host_vars/jake.box.nilsnh.no.yml index 388cdd8..0794ea5 100644 --- a/host_vars/jake.box.nilsnh.no.yml +++ b/host_vars/jake.box.nilsnh.no.yml @@ -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: diff --git a/roles/munin/tasks/main.yml b/roles/munin/tasks/main.yml new file mode 100644 index 0000000..6c7eec3 --- /dev/null +++ b/roles/munin/tasks/main.yml @@ -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 +