Commit 83b96c20 authored by Chris Croome's avatar Chris Croome

missing templating added back

parent 76d68a88
Pipeline #7729 passed with stage
in 20 seconds
......@@ -94,4 +94,31 @@
loop_var: plugin
tags:
- munin
- name: Munin node config file present
template:
src: templates/munin-node.conf.j2
dest: /etc/munin/munin-node.conf
backup: true
register: munin_node_conf
tags:
- munin
- name: Munin plugin config file present
template:
src: templates/munin-node.j2
dest: /etc/munin/plugin-conf.d/munin-node
backup: true
register: munin_node_plugin_conf
tags:
- munin
- name: Munin node restarted
service:
name: munin-node
state: restarted
when: munin_node_packages.changed or munin_node_conf.changed or munin_node_plugin_conf.changed
tags:
- munin
...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment