Files
ansible-runner/playbooks/deploy_victoriametrics.yml.ansible
master of disaster 76e692d792
Some checks failed
🏃‍♂️Run Ansible / install_ansible (push) Has been cancelled
fix name
2025-12-20 00:06:21 +01:00

61 lines
1.3 KiB
Plaintext

- hosts:
- valkey_servers
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