Files
ansible-runner/playbooks/deploy_victorialogs.yml.ansible
Ronny Gaulke2 0b1792d5a2
All checks were successful
🏃‍♂️Run Ansible / install_ansible (push) Successful in 8m29s
playbooks/deploy_victorialogs.yml.ansible aktualisiert
2025-12-20 09:10:16 +01:00

32 lines
724 B
Plaintext

- hosts:
- victorialogs_servers
gather_facts: true
become: true
roles:
- victorialogs
- handlers
- hosts:
- grafana_servers
gather_facts: true
become: true
tasks:
- name: add datasources VictoriaLogs
ansible.builtin.include_role:
name: handlers
tasks_from: add_datasources.yml.ansible
vars:
grafana_datasources:
name: "VictoriaLogs"
type: "loki"
url: "http://{{ hostvars[groups['victorialogs_servers'][0]]['victorialogs_ethernet_vip'] }}:9428"
access: "proxy"
is_default: false
version: 1
editable: false
- hosts:
- dev
gather_facts: true
become: true
roles:
- fluentbit
- handlers