add megascript
Some checks failed
🏃‍♂️Run Ansible / install_ansible (push) Failing after 1m53s

This commit is contained in:
master of disaster
2025-12-20 00:02:14 +01:00
parent 8ed2247c2a
commit 97b5706c02
2 changed files with 47 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
- hosts:
- valkey_servers
gather_facts: true
become: true
roles:
- valkey
- handlers
- name: Gather facts from all hosts - name: Gather facts from all hosts
hosts: dev hosts: dev
gather_facts: true gather_facts: true
@@ -12,4 +19,42 @@
- handlers - handlers
- minio - minio
- victoriametrics - 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