munin-node: Run munin-node-configure when needed

This commit is contained in:
Timo Makinen 2021-03-18 23:45:35 +00:00
parent 7e6d2e241a
commit b4e1edbf5d
2 changed files with 5 additions and 1 deletions

View file

@ -3,3 +3,7 @@
service:
name: "{{ munin_node_service }}"
state: restarted
- name: munin-node configure
shell: munin-node-configure --shell --remove-also 2> /dev/null | /bin/sh
notify: restart munin-node

View file

@ -15,7 +15,7 @@
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart munin-node
notify: munin-node configure
- name: enable service
service: