forked from evolix/ansible-roles
32 lines
560 B
YAML
32 lines
560 B
YAML
---
|
|
|
|
- name: install packages for Apache and Munin
|
|
apt:
|
|
name: "{{ item }}"
|
|
state: installed
|
|
with_items:
|
|
- libapache2-mod-fcgid
|
|
- libcgi-fast-perl
|
|
notify: reload apache
|
|
tags:
|
|
- apache
|
|
- munin
|
|
|
|
- name: change group for /var/log/munin/
|
|
file:
|
|
group: www-data
|
|
|
|
- name: install munin plugins
|
|
file:
|
|
src: "/etc/munin/plugins/{{ item }}"
|
|
dest: "/usr/share/munin/plugins/{{ item }}"
|
|
state: link
|
|
with_items:
|
|
- apache_accesses
|
|
- apache_processes
|
|
- apache_volume
|
|
notify: restart munin-node
|
|
tags:
|
|
- apache
|
|
- munin
|