Files
homelab-infra/ansible/playbooks/core-git.yml
T
karpenok 07e98ce7aa
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-mon, ) (push) Successful in 31s
feat(agent_vault): register Grafana and Gitea API services
2026-11-17 16:10:06 +07:00

27 lines
1022 B
YAML

---
# Playbook for core-git (Gitea + Postgres + Actions Runner, cAdvisor)
- name: Развертывание Gitea на core-git
hosts: core-git
become: true
roles:
- role: core-git/gitea
tags: [gitea]
- role: core-git/cadvisor
tags: [cadvisor]
post_tasks:
- name: Зарегистрировать Gitea в Agent Vault
ansible.builtin.include_role:
name: agent_vault_service
vars:
agent_vault_service_name: gitea
agent_vault_service_description: >-
Gitea (gitea.gunihome.ru): чтение репозиториев, коммитов и логов
CI/Actions. Read-only доступ (GET) через Bearer токен.
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_secret_path: /ci-cd
agent_vault_secret_key: TF_STATE_TOKEN
tags: [agent_vault, gitea]