forked from ISTI-ansible-roles/ansible-roles
14 lines
521 B
YAML
14 lines
521 B
YAML
|
---
|
||
|
#
|
||
|
# The ganglia plugin comes from https://github.com/ganglia/gmond_python_modules
|
||
|
#
|
||
|
- name: Install the ganglia plugin for Couchdb
|
||
|
copy: src=couchdb.py dest=/usr/lib/ganglia/python_modules/couchdb.py owner=root group=root mode=0644
|
||
|
notify: Restart ganglia monitor
|
||
|
tags: ganglia
|
||
|
|
||
|
- name: Distribute the ganglia (gmond) configuration for the Couchdb plugin
|
||
|
template: src=couchdb.pyconf.j2 dest=/etc/ganglia/conf.d/couchdb.pyconf owner=root group=root mode=444
|
||
|
notify: Restart ganglia monitor
|
||
|
tags: ganglia
|