25 Commits
Author SHA1 Message Date
karpenokandCursor 2eadd3aedc chore(core-git): убрать проверку AppArmor, она больше не нужна
На обновлённом netcore задачи раннера идут без ручного профиля unconfined.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 23:48:54 +07:00
karpenokandCursor 321c78fc27 fix(core-git): не терять образ раннера и не деплоить из-за пустого файла
ansible-core-mon / deploy (push) Successful in 26s
ansible-rus-central / deploy (push) Successful in 54s
ansible-core-net / deploy (push) Successful in 58s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m18s
ansible-opnsense / deploy (push) Successful in 8s
Архив homelab-ansible хранится на диске CT, проверка раннера вынесена в отдельную кнопку, cAdvisor смотрит свой порт.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 23:09:05 +07:00
karpenokandCursor db92435117 fix: убрать деплой core-git и apply CT 904 с раннера
ansible-core-mon / deploy (push) Successful in 28s
ansible-core-net / deploy (push) Successful in 1m0s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m14s
ansible-opnsense / deploy (push) Successful in 8s
ansible-rus-central / deploy (push) Successful in 57s
Раннер живёт на этой машине, job не может её пересобирать.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:51:36 +07:00
karpenokandCursor f1838991bd fix(core-git): keyctl + AppArmor note for DinD Actions
ansible-core-git / deploy (push) Failing after 3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:43:24 +07:00
karpenokandCursor 8e217b8585 fix(core-git): секреты Infisical и compose без up до миграции
ansible-core-net / deploy (push) Successful in 1m0s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-rus-central / deploy (push) Successful in 1m6s
ansible-core-git / deploy (push) Successful in 14s
ansible-core-mon / deploy (push) Successful in 23s
ansible-ger-nod-02 / deploy (push) Successful in 1m28s
ansible-opnsense / deploy (push) Successful in 6s
Подключает POSTGRES_USER/DB/PASSWORD, пишет compose при секретах,
поднимает стек только при наличии PG_VERSION. Terraform: import-core-git.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:13:44 +07:00
karpenokandCursor c507ed1fdb feat(core-git): каркас машины CT 904 под Gitea до миграции
ansible-core-git / deploy (push) Successful in 27s
ansible-core-mon / deploy (push) Successful in 24s
ansible-core-net / deploy (push) Successful in 54s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m15s
ansible-opnsense / deploy (push) Successful in 6s
ansible-rus-central / deploy (push) Successful in 50s
Добавляет terraform/ansible/CI и scrape cAdvisor. Стек Gitea без
POSTGRES_PASSWORD в Infisical не поднимается — данные придут с CT 109.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:00:53 +07:00
karpenokandCursor 13870d6399 fix(core-net): не ломать Terraform из-за запрета на /dev/net/tun
ansible-core-net / deploy (push) Failing after 59s
ansible-ger-nod-02 / deploy (push) Successful in 25s
Токен Proxmox не может пробросить устройство. Остальной стек панели ставится до роли NetBird, а команда для root@pam описана в bootstrap.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:57:19 +07:00
karpenokandCursor 83fde054b4 feat(core-net): пробросить /dev/net/tun для клиента NetBird
Unprivileged LXC иначе не поднимает WireGuard. Устройство появляется после одного перезапуска CT 902.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:55:12 +07:00
karpenok 065c47aee2 fix(monitoring): copy alerts.yml without jinja2 templating
ansible-core-mon / deploy (push) Successful in 1m8s
ansible-core-net / deploy (push) Successful in 18s
2026-11-11 16:08:38 +07:00
karpenok 9e9b8e9caf feat(terraform): add core-mon LXC container definition on netcore 2026-11-11 15:56:07 +07:00
karpenokandCursor 9c692522fb refactor: split machine deploys from one-time secrets migration
ansible-core-net / deploy (push) Failing after 39s
ansible-rus-central / deploy (push) Failing after 15s
ansible-core-secrets / deploy (push) Successful in 30s
Roles stay under the machine that runs them, CI applies only a known product, and the /opt/secrets move is a one-shot playbook instead of part of every core-secrets run.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 23:55:34 +07:00
karpenok aad9733753 chore(infra): sync CT 902 disk size to 20G in terraform 2026-11-10 19:15:45 +07:00
karpenok 73d5172fc4 chore(infra): revert disk size in terraform to avoid container replacement 2026-11-10 19:11:00 +07:00
karpenok 28a89b2f26 chore(infra): increase CT 902 resources to 4GB RAM and 20GB disk for Authentik 2026-11-10 19:08:49 +07:00
karpenok d2888c1149 feat(secrets): integrate Infisical Universal Auth into Gitea Actions workflows
ansible-core-net / deploy (push) Failing after 4m59s
ansible-core-secrets / deploy (push) Failing after 1m50s
- Configure Infisical CLI authentication via INFISICAL_CLIENT_ID and INFISICAL_CLIENT_SECRET
- Fetch runner SSH keys and state tokens dynamically from /ci-cd
- Fetch Proxmox target endpoints and tokens dynamically from /proxmox/<TARGET>
- Remove plaintext secrets from Ansible core_secrets defaults
- Clean up obsolete files and add --remove-orphans to docker compose invocations
2026-11-10 11:58:44 +07:00
karpenok 4123a7689a feat(core-secrets): add Ansible role, compose stack, and CI/CD workflow
ansible-core-net / deploy (push) Successful in 16s
ansible-core-secrets / deploy (push) Failing after 12s
2026-11-09 22:34:27 +07:00
karpenok 3cefc59aee feat(terraform): declare CT 901 core-secrets on netcore 2026-11-09 22:08:48 +07:00
karpenok 155a0b59cd fix(terraform): remove keyctl from core-net LXC (only nesting allowed by API token) 2026-11-09 20:49:30 +07:00
karpenok cd677eaadf revert: drop accidentally committed WIP files (keep only CI fix) 2026-11-09 20:31:32 +07:00
karpenok f4d6e537cc fix(ci): pass scoped TF_STATE_TOKEN to terraform http backend (GITEA_* secret names are reserved) 2026-11-09 20:31:17 +07:00
karpenok 2bc77b50f4 refactor(terraform): structure directories by hypervisor (netcore/ and pve/) 2026-11-09 20:11:28 +07:00
karpenok 2b23809bc3 feat(terraform): define core-net LXC container (CT 902) on netcore 2026-11-09 20:00:34 +07:00
karpenok 8e6f5dd5fe chore: update production inventory and remove terraform readme 2026-11-08 21:08:14 +07:00
karpenok 3b7ed7a8f7 refactor: update terraform configuration and documentation for lxc provisioning 2026-11-08 18:37:15 +07:00
karpenok 3c300c0cde refactor: restructure repository into layered IaC architecture (ansible, terraform, kubernetes) 2026-11-08 18:36:52 +07:00