41681ebcbd
* Ignore errors on install of sysstat * Fixes for ELK playbook (if SELinux is disabled) * Doc updates Change-Id: I4ac94e3a3cb5b2558a727e8761e2506ba0b62df2
42 lines
915 B
YAML
42 lines
915 B
YAML
---
|
|
#
|
|
# Generic Playbook to install collectd on generic machine types, use tags to separate 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="graphite"
|
|
# ansible-playbook -i hosts install/collectd-generic.yml --tags="baremetal,guest"
|
|
#
|
|
|
|
- hosts: baremetal
|
|
remote_user: root
|
|
vars:
|
|
config_type: baremetal
|
|
roles:
|
|
- epel
|
|
- collectd-generic
|
|
tags: baremetal
|
|
environment: "{{proxy_env}}"
|
|
|
|
- hosts: guest
|
|
remote_user: root
|
|
vars:
|
|
config_type: guest
|
|
roles:
|
|
- epel
|
|
- collectd-generic
|
|
tags: guest
|
|
environment: "{{proxy_env}}"
|
|
|
|
- hosts: graphite
|
|
remote_user: root
|
|
vars:
|
|
config_type: graphite
|
|
roles:
|
|
- epel
|
|
- collectd-generic
|
|
tags: graphite
|
|
environment: "{{proxy_env}}"
|