- hosts: - valkey gather_facts: true become: true roles: - valkeys - handlers - name: Gather facts from all hosts hosts: dev gather_facts: true become: true roles: - common - hosts: - victoriametrics_servers gather_facts: true become: true roles: - handlers - minio - victoriametrics - hosts: - grafana_servers gather_facts: true become: true roles: - grafana - handlers - hosts: - grafana_servers gather_facts: true become: true tasks: - name: add datasources VictoriaMetrics ansible.builtin.include_role: name: grafana tasks_from: add_datasources.yml.ansible vars: grafana_datasources: - name: "VictoriaMetrics" type: "prometheus" url: "http://{{ victoriametrics_eth_vip }}:8428" access: "proxy" is_default: true version: 1 editable: false - name: add datasources VictoriaLogs ansible.builtin.include_role: name: grafana tasks_from: add_datasources.yml.ansible vars: grafana_datasources: - name: "VictoriaLogs" type: "loki" url: "http://{{ victorialogs_ethernet_vip }}:9428" access: "proxy" is_default: false version: 1 editable: false