Kevin Carter 47aff12e6c Add functional tests to elk_metrics_6x
Change-Id: Ia997aa0a9b9388be0e8f72b633b3b9cc25b4429c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-07-20 18:14:22 +00:00

32 lines
632 B
YAML

---
- name: Load Heartbeat Dashboards
hosts: utility_all[0]
gather_facts: false
vars_files:
- vars/variables.yml
pre_tasks:
- include_tasks: common_task_data_node_hosts.yml
tags:
- always
tasks:
- name: Load templates
shell: >-
heartbeat setup
{{ item }}
-E 'output.logstash.enabled=false'
-E 'output.elasticsearch.hosts={{ coordination_nodes | to_json }}'
-e -v
with_items:
- "--template"
- "--dashboards"
register: templates
until: templates is success
retries: 5
delay: 5
tags:
- beat-setup