browbeat/ansible/install/collectd-rhoso.yaml
Masco 7ed568cf15 add support to index ocp metrics to ES
after running browbeat tests, the newly added ansible script is invoked
and the ocp metrics from prometheus are fetched and indexed in given ES.
the indexing is leveraging kube-burner

Change-Id: Ic193ee023c44ecc7f750a2cfbb77327c79baed82
2024-09-03 15:20:27 +05:30

14 lines
352 B
YAML

- hosts: localhost
gather_facts: true
vars:
ansible_user: "{{ browbeat_user }}"
ansible_python_interpreter: "{{ python_interpreter }}"
roles:
- { role: collectd-rhoso }
environment: "{{proxy_env}}"
- name: trigger the cronjob to index data from OCP
import_playbook: toggle-indexing-cron-job.yml
vars:
cron_state: "present"