Files
browbeat/ansible/install/collectd-generic.yml
Alex Krzos f54470ee9d Break out collectd config files.
+ Trimmed down Ceph Process list
+ Added Graphite host type, consolidated all generic host types to single playbook collectd-generic (baremetal, guest, cfme, graphite, satellite6)

Change-Id: I2af61fc8dc507407dd7983e44cd3302713fd3ddd
2016-03-10 22:01:48 -05:00

54 lines
1.1 KiB
YAML

---
#
# Generic Playbook to install collectd on generic machine types, use tags to seperate machine type:
#
# Examples:
#
# ansible-playbook -i hosts install/collectd-generic.yml --tags="baremetal"
# ansible-playbook -i hosts install/collectd-generic.yml --tags="guest"
# ansible-playbook -i hosts install/collectd-generic.yml --tags="cfme"
# ansible-playbook -i hosts install/collectd-generic.yml --tags="graphite"
# ansible-playbook -i hosts install/collectd-generic.yml --tags="satellite6"
# ansible-playbook -i hosts install/collectd-generic.yml --tags="baremetal,guest"
#
- hosts: baremetal
remote_user: root
vars:
config_type: baremetal
roles:
- collectd-generic
tags: baremetal
- hosts: guest
remote_user: root
vars:
config_type: guest
roles:
- collectd-generic
tags: guest
- hosts: cfme
remote_user: root
vars:
config_type: cfme
roles:
- collectd-generic
tags: cfme
- hosts: graphite
remote_user: root
vars:
config_type: graphite
roles:
- collectd-generic
tags: graphite
- hosts: satellite6
remote_user: root
vars:
config_type: satellite6
roles:
- collectd-generic
tags: satellite6