munin_node: Rename role
This commit is contained in:
parent
26c6aca8f7
commit
c67990e462
8 changed files with 2 additions and 2 deletions
24
roles/munin_node/tasks/main.yml
Normal file
24
roles/munin_node/tasks/main.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
- name: include OS-specific variables
|
||||
include_vars: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: install packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
with_items: "{{ munin_node_packages }}"
|
||||
|
||||
- name: create config
|
||||
template:
|
||||
dest: /etc/munin/munin-node.conf
|
||||
src: munin-node.conf.j2
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: munin-node configure
|
||||
|
||||
- name: enable service
|
||||
service:
|
||||
name: "{{ munin_node_service }}"
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue