Files
homelab-infra/ansible/playbooks/core-secrets.yml
T
karpenok 200c56b881
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
feat(monitoring): add VictoriaLogs, Grafana plugin, and Vector log collectors
2026-11-18 11:26:16 +07:00

33 lines
1.1 KiB
YAML

---
- name: CT 901, секреты
hosts: core-secrets
become: true
roles:
- role: core-secrets/infisical
tags: [infisical]
- role: core-secrets/vaultwarden
tags: [vaultwarden]
- role: core-secrets/cadvisor
tags: [cadvisor]
- role: vector
tags: [vector]
post_tasks:
- name: Зарегистрировать Gitea в Agent Vault
ansible.builtin.include_role:
name: agent_vault_service
apply:
tags: [agent_vault, gitea]
vars:
agent_vault_service_name: gitea
agent_vault_service_description: >-
Gitea (gitea.gunihome.ru): чтение репозиториев, коммитов и логов
CI/Actions. Read-only доступ (GET) через токен.
agent_vault_service_host: "gitea.gunihome.ru:443"
agent_vault_service_paths: ["/api"]
agent_vault_service_methods: [GET]
agent_vault_service_credential_type: bearer
agent_vault_service_header_prefix: token
agent_vault_secret_path: /ci-cd
agent_vault_secret_key: TF_STATE_TOKEN
tags: [agent_vault, gitea]