ansible-deploy / plan (push) Successful in 1s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-mon, ) (push) Successful in 1m12s
ansible-deploy / deploy (core-net, ) (push) Successful in 1m8s
ansible-deploy / deploy (core-secrets, ) (push) Successful in 36s
ansible-deploy / deploy (rus-central, ) (push) Canceled after 0s
ansible-deploy / deploy (ger-nod-02, ) (push) Canceled after 41s
26 lines
1.1 KiB
YAML
26 lines
1.1 KiB
YAML
---
|
|
# Playbook for core-mon (Monitoring stack: VictoriaMetrics, vmalert, Alertmanager, Grafana, Ntfy)
|
|
- name: Развертывание стека мониторинга на core-mon
|
|
hosts: core-mon
|
|
roles:
|
|
- role: core-mon/monitoring
|
|
tags: [monitoring]
|
|
- role: vector
|
|
tags: [vector]
|
|
post_tasks:
|
|
- name: Зарегистрировать Grafana в Agent Vault
|
|
ansible.builtin.include_role:
|
|
name: agent_vault_service
|
|
vars:
|
|
agent_vault_service_name: grafana
|
|
agent_vault_service_description: >-
|
|
Grafana (graf.gunihome.ru): чтение метрик VictoriaMetrics через
|
|
datasource proxy/ds query, дашбордов и алертов. Read-only доступ (Viewer).
|
|
agent_vault_service_host: "graf.gunihome.ru:443"
|
|
agent_vault_service_paths: ["/api"]
|
|
agent_vault_service_methods: [GET, POST]
|
|
agent_vault_service_credential_type: bearer
|
|
agent_vault_secret_path: /services/grafana
|
|
agent_vault_secret_key: GRAFANA_API_TOKEN
|
|
tags: [agent_vault, monitoring]
|