homeserver/friedhof/mgrote_munin_node/handlers/main.yml
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

16 lines
510 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
ansible.builtin.command: munin-node-configure --shell --families=contrib,auto | sh -x
ignore_errors: true # ignoriere fehler