munin-node: Run munin-node-configure when needed
This commit is contained in:
parent
7e6d2e241a
commit
b4e1edbf5d
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: restart munin-node
|
||||
notify: munin-node configure
|
||||
|
||||
- name: enable service
|
||||
service:
|
||||
|
|
Loading…
Add table
Reference in a new issue