munin-node: Initial version of munin-node role

This commit is contained in:
Timo Makinen 2021-03-18 22:35:11 +00:00
parent 64db5ca467
commit b287591b32
3 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,20 @@
---
- name: install packages
package:
name: munin-node
state: installed
- name: create config
template:
dest: /etc/munin/munin-node.conf
src: munin-node.conf.j2
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart munin-node
- name: enable service
service:
name: munin-node
state: started
enabled: true