# Ansible playbook for ganglia (on CentOS)

**URL:** <https://forum.ansible.com/t/ansible-playbook-for-ganglia-on-centos/11478>\
**Category:** Ansible Project\
**Created:** [May 1, 2012, 12:36pm UTC](https://forum.ansible.com/t/ansible-playbook-for-ganglia-on-centos/11478 "2012-05-01T12:36:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [May 1, 2012, 12:36pm UTC](https://forum.ansible.com/t/ansible-playbook-for-ganglia-on-centos/11478/1 "2012-05-01T12:36:58Z")

</div>

Not sure if I brought this up directly before, but this was linked in the [highscalability.com](http://highscalability.com) article:

[https://github.com/mpdehaan/ansible-examples](https://github.com/mpdehaan/ansible-examples)

It definitely would require adjustment for your environment as the Ganglia config files are NOT simple.

This is a pretty good example of using includes to manage playbook structure though:

[https://github.com/mpdehaan/ansible-examples/blob/master/monitoring.yml](https://github.com/mpdehaan/ansible-examples/blob/master/monitoring.yml)  
[https://github.com/mpdehaan/ansible-examples/blob/master/tasks/common.yml](https://github.com/mpdehaan/ansible-examples/blob/master/tasks/common.yml)  
[https://github.com/mpdehaan/ansible-examples/blob/master/tasks/monitored\_server.yml](https://github.com/mpdehaan/ansible-examples/blob/master/tasks/monitored_server.yml)  
[https://github.com/mpdehaan/ansible-examples/blob/master/tasks/monitoring\_server.yml](https://github.com/mpdehaan/ansible-examples/blob/master/tasks/monitoring_server.yml)

At the time this was written Ansible still used client-side templates, so the Jinja2 install step can be removed.

–Michael
