From e78c067cef37d0563a3f9d65989fa8bf7b47c67b Mon Sep 17 00:00:00 2001 From: mg Date: Sun, 25 Jul 2021 14:59:39 +0200 Subject: [PATCH] munin: extra task autoconfigure (#171) extra task autoconfigure Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/171 Co-Authored-By: mg Co-Committed-By: mg --- roles/mgrote.munin-node/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/mgrote.munin-node/tasks/main.yml b/roles/mgrote.munin-node/tasks/main.yml index 75919361..bbf1f72a 100644 --- a/roles/mgrote.munin-node/tasks/main.yml +++ b/roles/mgrote.munin-node/tasks/main.yml @@ -32,6 +32,13 @@ mode: 0644 notify: restart munin-node + - name: munin-node-configure --shell + ansible.builtin.shell: munin-node-configure --shell + register: output_conf + changed_when: "output_conf.rc != 0" + ignore_errors: yes # ignoriere fehler + when: install.changed + - name: Install additional plugins. get_url: url: "{{ item.src }}"