homeserver/roles/mgrote_munin_node/tasks/install.yml
Michael Grote 6b01cf8879
Some checks failed
ansible-lint / ansible-lint (push) Failing after 4s
gitleaks / gitleaks (push) Successful in 4s
traefik: rate-limit for forgejo (#176)
Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/176
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

remove ubuntu-pro-client

set rate-limit higher and let... (#177)

Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/177
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-09-12 13:26:14 +00:00

28 lines
618 B
YAML

---
- name: Ensure packages are installed
ansible.builtin.apt:
name: munin-node
state: present
notify:
- munin-node-configure --shell
- munin-node-configure --shell - 2
- name: Ensure directories exist
ansible.builtin.file:
path: "{{ item }}"
state: directory
owner: root
group: root
mode: "0755"
loop:
- /etc/munin/plugin-conf.d
- /etc/munin/plugins
- name: Template munin-node configuration
ansible.builtin.template:
src: munin-node.conf.j2
dest: /etc/munin/munin-node.conf
owner: root
group: root
mode: "0755"
notify: restart munin-node