This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
- hosts:
|
||||
- valkey_servers
|
||||
gather_facts: true
|
||||
become: true
|
||||
roles:
|
||||
- valkey
|
||||
- handlers
|
||||
- name: Gather facts from all hosts
|
||||
hosts: dev
|
||||
gather_facts: true
|
||||
@@ -12,4 +19,42 @@
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user