munin-node: Initial version of munin-node role
This commit is contained in:
parent
64db5ca467
commit
b287591b32
3 changed files with 58 additions and 0 deletions
20
roles/munin-node/tasks/main.yml
Normal file
20
roles/munin-node/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue