homeserver/roles/mgrote_munin_node/handlers/main.yml
Michael Grote 32fe00c0b6 monitoring: add munin again... (#790)
Reviewed-on: #790
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

munin: nacharbeiten (#791)

Reviewed-on: #791
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

munin: remove playbook fixed (#792)

Reviewed-on: #792
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-02-16 09:15:56 +01:00

15 lines
526 B
YAML

---
- name: restart munin-node
ansible.builtin.service:
name: munin-node
state: restarted
- name: munin-node-configure --shell # noqa ignore-errors
ansible.builtin.command: munin-node-configure --shell
register: output_conf
changed_when: "output_conf.rc != 0"
ignore_errors: true # ignoriere fehler
- name: munin-node-configure --shell - 2 # noqa ignore-errors no-changed-when
ansible.builtin.command: munin-node-configure --shell --families=contrib,auto | sh -x
ignore_errors: true # ignoriere fehler