feat(agent_vault): register Grafana and Gitea API services
This commit is contained in:
1 parent
53626e9271
commit
07e98ce7aa
2 files changed
+32
No files matched your search
@@ -5,3 +5,19 @@
|
||||
roles:
|
||||
- role: core-mon/monitoring
|
||||
tags: [monitoring]
|
||||
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]
|
||||
Reference in new issue
Block a user