browbeat/ansible/install/check-collectd-config.yml
Sanjay Chari 8e873e678a Start and stop collectd containers while running workloads
This patch introduces the following changes.
1. Playbooks have been created to start collectd on different hosts.
2. A feature has been added that allows a user to start collectd containers
before running workloads, and stop the collectd containers after running
the workloads. This will help us in minimising the space used for storing
collectd data.

Change-Id: I7926884f461e97bc67453f46eef0121c46c7f19e
2021-11-22 13:14:55 +05:30

9 lines
233 B
YAML

---
- hosts: localhost
tasks:
- name: Check if graphite_host is empty in group_vars/all.yml
include_vars:
file: "group_vars/all.yml"
name: group_vars
failed_when: group_vars['graphite_host'] is none