Commit Graph
100 Commits
Author SHA1 Message Date
karpenok 28ae06834b feat(monitoring): add OPNsense multi-WAN exporter, alerts, and Grafana dashboard
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-mon, ) (push) Successful in 43s
ansible-deploy / plan (push) Successful in 1s
2026-11-17 15:53:22 +07:00
karpenok c7adefd95a feat(traefik,opnsense): expose opnsense.gunihome.ru LAN-only with TLS and update Agent Vault host
ansible-deploy / plan (push) Successful in 2s
ansible-deploy / deploy (opnsense, ) (push) Successful in 10s
ansible-lint / lint (push) Successful in 2s
ansible-deploy / deploy (core-net, ) (push) Successful in 21s
2026-11-17 15:36:46 +07:00
karpenok 8061dd7604 feat(agent_vault,opnsense): support basic auth and register OPNsense API
ansible-deploy / plan (push) Successful in 1s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (opnsense, ) (push) Successful in 10s
2026-11-17 15:27:02 +07:00
karpenok 15beca7bf0 fix(remnawave): use username/id on Remnawave v3 user PATCH and DELETE
ansible-deploy / plan (push) Successful in 2s
ansible-deploy / deploy (core-net, ) (push) Successful in 18s
ansible-lint / lint (push) Successful in 2s
2026-11-15 23:33:28 +07:00
karpenok 6e10d9dcbb feat(remnawave): scope user sync and pruning to managed_tag IAC
ansible-deploy / plan (push) Successful in 1s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-net, ) (push) Failing after 16s
ansible-deploy / deploy (opnsense, ) (push) Successful in 3s
2026-11-15 23:30:33 +07:00
karpenok aab0611aaf refactor(opnsense/xray): replace 310-line Jinja loop with sync_xray.py
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (opnsense, ) (push) Successful in 3s
ansible-deploy / plan (push) Successful in 1s
2026-11-15 23:07:41 +07:00
karpenok ae9beee5ca feat(remnawave,monitoring): full node/host cleanup on sync and dynamic alerts.yml.j2
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-mon, ) (push) Successful in 17s
ansible-deploy / deploy (core-net, ) (push) Successful in 20s
2026-11-15 23:00:55 +07:00
karpenok b2524d1d1e refactor(monitoring): split tasks into tagged subtasks, update BOOTSTRAP.md and .gitignore
ansible-deploy / plan (push) Successful in 2s
ansible-lint / lint (push) Successful in 3s
ansible-deploy / deploy (core-mon, ) (push) Successful in 17s
2026-11-15 22:55:54 +07:00
karpenok 0f0d4ff7ad fix(ci): chmod go-w and pass inventory in ansible-lint.yml, untrack pycache
ansible-deploy / plan (push) Successful in 2s
ansible-deploy / deploy (push) Skipped
ansible-lint / lint (push) Successful in 2s
2026-11-15 22:46:27 +07:00
karpenok fd0dcab300 ci: unify into matrix ansible-deploy.yml, add ansible-lint.yml and exit_nodes group
ansible-deploy / plan (push) Successful in 1s
ansible-deploy / deploy (core-secrets, ) (push) Successful in 17s
ansible-lint / lint (push) Failing after 3s
ansible-deploy / deploy (core-net, ) (push) Successful in 52s
ansible-deploy / deploy (ger-nod-02, ) (push) Successful in 1m18s
ansible-deploy / deploy (opnsense, ) (push) Successful in 9s
ansible-deploy / deploy (rus-central, ) (push) Successful in 52s
ansible-deploy / deploy (core-mon, ) (push) Successful in 26s
2026-11-15 22:44:34 +07:00
karpenok 189e31e266 ci: stop triggering all machine workflows on global ci/hosts/site changes 2026-11-15 22:38:15 +07:00
karpenok 07e3366578 fix(ci): allow deleting migrated machine-specific roles in ansible-target.sh
ansible-core-mon / deploy (push) Successful in 26s
ansible-core-net / deploy (push) Successful in 51s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-opnsense / deploy (push) Successful in 9s
ansible-rus-central / deploy (push) Successful in 55s
ansible-ger-nod-02 / deploy (push) Successful in 1m19s
2026-11-15 22:34:26 +07:00
karpenok 2fc6e39323 refactor(remnawave,exit-node): split bootstrap/sync and generalize ger-nod-02 roles
ansible-core-net / deploy (push) Successful in 1m50s
ansible-core-mon / deploy (push) Successful in 28s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Failing after 3s
ansible-opnsense / deploy (push) Successful in 9s
ansible-rus-central / deploy (push) Successful in 1m7s
2026-11-15 22:31:04 +07:00
karpenok 83baec4bad fix(ger-nod-02): дожидаться Management Connected после рестарта netbird
ansible-ger-nod-02 / deploy (push) Successful in 25s
2026-11-15 12:03:08 +07:00
karpenok c90a78e160 fix(netbird): отключить IPv6/DNS-перехват на Exit Node и сузить маршрут LAN
ansible-ger-nod-02 / deploy (push) Failing after 43s
ansible-rus-central / deploy (push) Successful in 58s
2026-11-15 11:59:40 +07:00
karpenok 4884a61ad2 refactor(netbird): вынести клиентский доступ и ключи в декларативный access.yml
ansible-rus-central / deploy (push) Successful in 30s
2026-11-14 13:02:24 +07:00
karpenok 3178455672 feat(netbird): настроить ger-nod-02 как Exit Node для клиентов
ansible-ger-nod-02 / deploy (push) Successful in 21s
ansible-rus-central / deploy (push) Successful in 26s
2026-11-14 12:36:07 +07:00
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-rus-central / deploy (push) Successful in 54s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m18s
ansible-opnsense / deploy (push) Successful in 8s
ansible-core-mon / deploy (push) Successful in 26s
ansible-core-net / deploy (push) Successful in 58s
Архив 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 c8dda38c4f ci: проверка runner после чистого DinD + load образов
ansible-core-net / deploy (push) Failing after 1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:35:53 +07:00
karpenokandCursor 00bc7ead09 ci: проверка runner после восстановления DinD volume
ansible-core-net / deploy (push) Failing after 1s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:33:42 +07:00
karpenokandCursor f48d7966ba ci: проверить Actions runner на core-git после сброса DinD
ansible-core-net / deploy (push) Failing after 16s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:27:58 +07:00
karpenokandCursor 634a46c118 chore(core-git): cutover адресов на 192.168.1.105 после миграции
ansible-core-net / deploy (push) Failing after 0s
Traefik backend, clone/state URL в workflows и BOOTSTRAP. CT 109
оставлен для rollback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:25:52 +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-opnsense / deploy (push) Successful in 6s
ansible-rus-central / deploy (push) Successful in 50s
ansible-ger-nod-02 / deploy (push) Successful in 1m15s
Добавляет 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
karpenok 090a92174b docs(agents): запретить вывод секретов и требовать сообщать о компрометации
Агент работает через прокси, ключи подставляет прокси, поэтому значения
секретов агенту не нужны. Всё, что попало в вывод команды или тело ответа,
уже в контексте модели, то есть у провайдера.

Добавлены два раздела: что запрещено по умолчанию (печать секретов, поиск
эндпоинтов с креденшлами, выпуск токенов «для проверки») и как сообщать
об утечке — сразу, с именем ключа и местом, без повторения значения,
с предложением отозвать и ротировать.
2026-11-13 21:16:54 +07:00
karpenok 99215bf7b1 feat(agent-vault): регистрировать панель NetBird в Access Bundle
ansible-core-net / deploy (push) Successful in 3s
ansible-rus-central / deploy (push) Successful in 22s
Роль agent_vault_service научилась переопределять заголовок креденшла:
NetBird ждёт Authorization: Token <pat>, а не Bearer, поэтому добавлены
agent_vault_service_header_name и agent_vault_service_header_prefix.

NetBird регистрируется после сохранения токена в /services/netbird:
host central.gunihome.ru:443, путь /api, только GET — панель управляет
пирами и маршрутами, запись пока не открываем.
2026-11-13 21:04:23 +07:00
karpenok e6e3cb162a feat(agent-vault): регистрировать сервисы продуктов в Access Bundle из роли
ansible-core-net / deploy (push) Successful in 25s
Общая роль agent_vault_service ищет сервис по имени в бандле, создаёт при
отсутствии и обновляет креденшл при наличии, поэтому ротация токена на
каждом прогоне не ломает доступ агента.

Креденшл читается из Infisical через infisical secrets get --plain и не
проходит через переменные Ansible. Если API не принял PATCH, сервис
пересоздаётся.

Remnawave регистрирует панель после сохранения API-токена в
/services/remnawave: хост rw.gunihome.ru:443, путь /api, GET и POST.

На версии v0.167.7 сервисы создаются bundle-scoped маршрутом
POST /api/v1/agent-vault/access-bundles/<id>/services: описанного в
документации POST /api/v1/agent-vault/services там ещё нет.
2026-11-13 20:57:02 +07:00
karpenok 8e0c6d9024 test(opnsense): вернуть активную подписку Germ-02 после проверки переключения
ansible-opnsense / deploy (push) Successful in 10s
2026-11-12 22:22:27 +07:00
karpenok bfe1babc3d test(opnsense): временно переключить активную подписку на Germ-01 (проверка переключения)
ansible-opnsense / deploy (push) Successful in 10s
2026-11-12 22:21:19 +07:00
karpenok 8c1f155c74 fix(opnsense): не обращаться к регистрам validate/testconnect когда они пропущены
ansible-opnsense / deploy (push) Successful in 4s
2026-11-12 22:18:20 +07:00
karpenok 192d1414f2 fix(opnsense): сравнивать loglevel OptionField по выбранной опции в drift-проверке
ansible-opnsense / deploy (push) Failing after 4s
2026-11-12 22:14:57 +07:00
karpenok f0c2d2e5a5 fix(opnsense): спрашивать статус xray по активному инстансу, а не первому в config.xml
ansible-opnsense / deploy (push) Successful in 12s
2026-11-12 22:07:06 +07:00
karpenok 7aef3fe063 fix(opnsense): не падать на first по пустой последовательности при поиске uuid активной подписки
ansible-opnsense / deploy (push) Successful in 11s
2026-11-12 22:05:38 +07:00
karpenok 1d0ab4da61 fix(opnsense): update active status for Xray instances in instances.yml
ansible-opnsense / deploy (push) Failing after 5s
- Set 'Fin-01' instance to inactive
- Set 'Germ-02' instance to active
2026-11-12 21:59:01 +07:00
karpenok d8d029f5b9 docs(bootstrap): описать роль opnsense/xray и секреты /services/opnsense-xray 2026-11-12 21:37:48 +07:00
karpenok f8f927450b chore(ci): убрать временный seed-workflow после сидинга Xray-ссылок 2026-11-12 21:37:05 +07:00
karpenok 931d8d0970 fix(opnsense): использовать Item-эндпоинты API os-xray (searchItem/getItem/setItem/addItem/delItem/toggleItem)
ansible-opnsense / deploy (push) Successful in 10s
2026-11-12 21:34:58 +07:00
karpenok 21f106993f feat(opnsense): синхронизировать подписки Xray через API плагина os-xray
ansible-core-mon / deploy (push) Successful in 26s
ansible-core-net / deploy (push) Successful in 52s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-ger-nod-02 / deploy (push) Successful in 1m21s
ansible-rus-central / deploy (push) Successful in 51s
ansible-opnsense / deploy (push) Failing after 5s
- роль opnsense/xray: instances.yml как источник правды, ссылки vless://
  из Infisical /services/opnsense-xray, конвертер в outbound_config,
  переключение активной подписки с validate/testconnect и откатом
- deploy-machine.sh: выгрузка /services/opnsense-xray для машины opnsense
- временный workflow xray-secrets-seed для первичного сидинга ссылок
2026-11-12 21:26:56 +07:00
karpenokandCursor 32194a55a1 fix(monitoring): оставить Steal-Yali рядом с именем хоста
ansible-core-mon / deploy (push) Successful in 18s
По подписи должно быть видно, что инбаунд — self-steal заглушка, а не отдельный узел.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:39:34 +07:00
karpenokandCursor 62156b46a7 fix(monitoring): склеить старое имя Yali с ger-nod-02
ansible-core-mon / deploy (push) Successful in 18s
История метрик ещё подписана Yali, из-за этого на дашборде две карточки. Запросы показывают одно имя, флаг Германии остаётся.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:38:17 +07:00
karpenokandCursor cf02dfb726 fix(monitoring): подписать прокси ger-nod-02 вместо Yali
ansible-core-mon / deploy (push) Successful in 21s
Метрика xray-checker берёт имя из подписки. На дашборде оно заменяется на имя хоста, флаг Германии остаётся.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:34:22 +07:00
karpenokandCursor bcbb2564f1 fix(remnawave): показывать ноду как ger-nod-02
ansible-core-net / deploy (push) Successful in 23s
Подпись хоста в подписке была Yali. Дашборд берёт её из метрик xray-checker, флаг Германии остаётся.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:32:15 +07:00
karpenokandCursor c2e5a4a6bd fix(monitoring): смотреть рестарты контейнеров по метке Compose
ansible-core-mon / deploy (push) Successful in 16s
У cAdvisor нет метки container, из-за неё правило не видело ни одного ряда.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:10:01 +07:00
karpenokandCursor 296c54f840 feat(monitoring): закрыть пробелы в алертах хостов и сервисов
ansible-core-mon / deploy (push) Successful in 17s
Пуш-хосты больше не пропадают молча, а диск, OOM, cAdvisor, Remnawave и xray-checker доходят до ntfy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:07:58 +07:00
karpenokandCursor a2b0c37522 fix(monitoring): строить Cadvisor exporter по сервису Compose
ansible-core-mon / deploy (push) Successful in 19s
cAdvisor 0.60 не заполняет лейбл name, из-за этого панели ger-nod-02 и rus-central были пустыми.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 18:23:51 +07:00
karpenokandCursor d0ba64aded fix(monitoring): поднять cAdvisor, который понимает Docker API 1.44
ansible-rus-central / deploy (push) Successful in 17s
ansible-ger-nod-02 / deploy (push) Successful in 24s
На ger-nod-02 и rus-central демон отвергает клиент 1.41, поэтому в дашборде не было контейнеров.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 18:21:20 +07:00
karpenokandCursor 93958f93e2 fix(monitoring): убрать Node Exporter Full и собирать cAdvisor со всех Docker-хостов
ansible-core-mon / deploy (push) Successful in 20s
ansible-core-secrets / deploy (push) Successful in 27s
ansible-rus-central / deploy (push) Successful in 59s
Старый дашборд оставался в каталоге Grafana, потому что копирование его не удаляет. core-secrets и rus-central не попадали в Cadvisor exporter: экспортёра на них не было.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 18:13:20 +07:00
karpenokandCursor 57aa12b9c5 feat(monitoring): заменить Prometheus на vmalert
ansible-core-mon / deploy (push) Successful in 37s
ansible-core-net / deploy (push) Successful in 56s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-ger-nod-02 / deploy (push) Successful in 1m22s
ansible-opnsense / deploy (push) Successful in 6s
ansible-rus-central / deploy (push) Successful in 39s
Алерты считаются по VictoriaMetrics и уходят в тот же Alertmanager, второй сбор метрик больше не нужен.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:54:25 +07:00
karpenokandCursor 28b8bcf708 fix(monitoring): направить дашборд cAdvisor в VictoriaMetrics
ansible-core-mon / deploy (push) Successful in 20s
Плейсхолдер импорта DS_PROMETHEUS при провижининге не подставляется, панели смотрели в пустой источник.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:42:45 +07:00
karpenokandCursor df6ecd711f fix(monitoring): починить YAML задачи копирования дашбордов
ansible-core-mon / deploy (push) Successful in 19s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:40:38 +07:00
karpenokandCursor c905f42a10 fix(monitoring): перечитывать дашборды Grafana после обновления файлов
ansible-core-mon / deploy (push) Failing after 3s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:40:06 +07:00
karpenokandCursor efd5f27f6d fix(monitoring): перевести дашборд Remnawave на метрики process
ansible-core-mon / deploy (push) Successful in 18s
Панель 3 больше не отдаёт remnawave_nodejs_*: CPU и частоту запросов убрали, память и event loop переименовали.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:38:28 +07:00
karpenokandCursor b69e1c8f93 fix(monitoring): проверять Xray по HTTP-статусу, а не по IP
ansible-core-mon / deploy (push) Successful in 31s
Профиль ноды блокирует api.ipify.org, поэтому метод ip всегда помечал рабочий прокси офлайн.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:32:48 +07:00
karpenokandCursor b6d6db9e2c fix(remnawave): не переводить ноду на NetBird, пока панель сама не в сети
ansible-core-net / deploy (push) Canceled after 17s
Иначе панель без /dev/net/tun потеряет ger-nod-02, хотя peer ноды уже есть.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:59:30 +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
karpenokandCursor 72a9c86e52 feat: VictoriaMetrics и NetBird между панелью и ger-nod-02
ansible-core-net / deploy (push) Canceled after 0s
ansible-core-secrets / deploy (push) Canceled after 0s
ansible-ger-nod-02 / deploy (push) Canceled after 0s
ansible-opnsense / deploy (push) Canceled after 0s
ansible-core-mon / deploy (push) Successful in 58s
ansible-rus-central / deploy (push) Successful in 44s
Prometheus остаётся для LAN. Нода отдаёт метрики через vmagent, а панель ходит на неё по отдельному ключу NetBird, не через группу роутеров.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:50:44 +07:00
karpenokandCursor 5704272c18 fix: роль host один раз и рабочие маршруты Nextcloud
ansible-core-mon / deploy (push) Successful in 20s
ansible-core-net / deploy (push) Successful in 20s
ansible-ger-nod-02 / deploy (push) Successful in 41s
ansible-rus-central / deploy (push) Successful in 38s
Полная сверка больше не готовит машину дважды, а Traefik видит entryPoints у cloud и opencloud. Каталог старых маршрутов помечен как отложенный долг.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 14:21:32 +07:00
karpenokandCursor a54a25ebb7 fix(monitoring): Prometheus читает новый конфиг, а не старый inode
ansible-core-mon / deploy (push) Successful in 13s
Файл в bind-mount не обновлялся после записи Ansible, поэтому ger-nod-02 не попадал в цели.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 13:00:15 +07:00
karpenokandCursor 408dfd09c3 feat(monitoring): цели Prometheus из inventory и хосты в Grafana через up
ansible-core-mon / deploy (push) Successful in 26s
ansible-core-net / deploy (push) Successful in 43s
ansible-opnsense / deploy (push) Successful in 5s
ansible-rus-central / deploy (push) Successful in 59s
ansible-core-secrets / deploy (push) Successful in 15s
ansible-ger-nod-02 / deploy (push) Successful in 55s
Список scrape строится из inventory, дашборд показывает все цели, не только с успешным node_exporter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 12:50:23 +07:00
karpenokandCursor 4316f2c68e fix(remnawave): gunihome.ru мимо туннеля в шаблоне Except-RU
ansible-core-net / deploy (push) Successful in 21s
Нода режет эти адреса правилом geoip:ru, как старый Steal. Свои сервисы должны идти напрямую с клиента.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 00:01:16 +07:00
karpenokandCursor e5bebab5d2 feat(remnawave): шаблон Except-RU на хосте yali
ansible-core-net / deploy (push) Successful in 19s
Старое имя NL_YT_TG_ONLY не совпадало с правилами: это полный туннель, RU идёт напрямую. JSON в базовой подписке включён.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:55:11 +07:00
karpenokandCursor abca41fd35 fix(ger-nod-02): обычная страница практики вместо заглушки SelfSteal
ansible-ger-nod-02 / deploy (push) Successful in 33s
Пустая карточка «ничего не смотрите» слишком явно читалась как маскировка.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:46:20 +07:00
karpenokandCursor c99c4cd10c fix(remnawave): не создавать повторно конфиг подписки Homelab
ansible-core-net / deploy (push) Successful in 19s
Список API отдаёт config=null, POST ловил 400 «name already exists».

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:42:36 +07:00
karpenokandCursor 0699aa9476 fix(remnawave): логи bootstrap видны, ключи только в файле
ansible-core-net / deploy (push) Failing after 11s
no_log остаётся на чтении секретов, Infisical и .env.
stdout задачи — статус без токена и SECRET_KEY.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:41:37 +07:00
karpenokandCursor e4fc3fce69 fix(remnawave): пользователи из файла, ротация API-токена без логов
ansible-core-net / deploy (push) Failing after 14s
users.yml — источник правды (homelab — первый). Именованный токен
перевыпускается каждый прогон и пишется в Infisical; stdout/stderr
секретов в CI закрыты no_log и redact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:39:18 +07:00
karpenokandCursor 928c04ce9d fix(ger-nod-02): NODE_PORT с обоих WAN-провайдеров панели
ansible-core-net / deploy (push) Canceled after 0s
ansible-ger-nod-02 / deploy (push) Successful in 1m12s
213.128.28.107 — провайдер 1 (МТС), 185.160.137.140 — провайдер 2.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:26:38 +07:00
karpenokandCursor 1733a9f977 fix(ger-nod-02): правильный egress панели для NODE_PORT
ansible-core-net / deploy (push) Canceled after 5s
ansible-ger-nod-02 / deploy (push) Successful in 1m3s
В UFW был 213.128.28.107 (МТС), реал egress core-net —
185.160.137.140; панель не достукивалась до 2222, Xray не
поднимал 443.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:24:57 +07:00
karpenokandCursor 0a56b935de fix(ger-nod-02): пароль как у central, HTTP-01 без ACME TXT, кавычки SECRET_KEY
ansible-rus-central / deploy (push) Canceled after 0s
ansible-core-secrets / deploy (push) Canceled after 0s
ansible-core-net / deploy (push) Canceled after 0s
ansible-ger-nod-02 / deploy (push) Successful in 4m1s
ansible-opnsense / deploy (push) Canceled after 0s
ansible-core-mon / deploy (push) Canceled after 24s
Падение было на :443 — SECRET_KEY без кавычек ломал ноду.
DNS-01 убран: LE через standalone HTTP-01, старые _acme-challenge чистим.
ansible_password только из /VPS; host в плейбуке как у rus-central.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:20:02 +07:00
karpenokandCursor 0f7fe4e352 fix(ger-nod-02): передавать SSH args через JSON @file
ansible-core-net / deploy (push) Successful in 36s
ansible-core-secrets / deploy (push) Successful in 13s
ansible-ger-nod-02 / deploy (push) Failing after 3m21s
ansible-opnsense / deploy (push) Successful in 4s
ansible-rus-central / deploy (push) Successful in 1m6s
ansible-core-mon / deploy (push) Successful in 25s
-e ansible_ssh_common_args=-o ... резало значение по пробелам,
ssh получал голый -o и падал с UNREACHABLE.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:09:33 +07:00
karpenokandCursor 385505b5f7 fix(ger-nod-02): читать PASS из /VPS, Cloudflare из /ci-cd
ansible-core-mon / deploy (push) Successful in 26s
ansible-core-net / deploy (push) Successful in 36s
ansible-core-secrets / deploy (push) Successful in 13s
ansible-ger-nod-02 / deploy (push) Failing after 2s
ansible-opnsense / deploy (push) Successful in 4s
ansible-rus-central / deploy (push) Successful in 1m6s
Реальные пути в Infisical: CLOUDFLARE_API в /ci-cd, PASS_GER_NOD_02
в /VPS — без пароля SSH был Permission denied.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 23:06:05 +07:00
karpenokandCursor 6aa2b26f47 fix(remnawave): healthcheck subscription через docker health
ansible-core-net / deploy (push) Successful in 12s
Корень / рвёт коннект без Traefik+shortUuid; официальный probe —
/internal/health внутри контейнера (State.Health.Status).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:58:35 +07:00
karpenokandCursor dd19301c33 fix(remnawave): не светить ключи в CI + заметка в BOOTSTRAP
ansible-core-net / deploy (push) Failing after 1m0s
no_log на bootstrap; stderr API редáctит privateKey/SECRET_KEY/токены;
в BOOTSTRAP — правило для новых установок.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:53:40 +07:00
karpenokandCursor a4a0655888 fix(remnawave): парсить keypairs[] из x25519 generate v3
ansible-core-net / deploy (push) Failing after 1m27s
API отдаёт массив пар, а не одиночные privateKey/publicKey.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:48:29 +07:00
karpenokandCursor 8872b8765e fix(remnawave): bootstrap на admin JWT, API-токен со scopes *
ansible-core-net / deploy (push) Failing after 11s
Не переключаемся на API-токен mid-bootstrap (из-за этого был 403
на /keygen/). Токен создаём с wildcard; если нельзя — явный assert.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:45:51 +07:00
karpenokandCursor 6a59391a6c fix(remnawave): X-Remnawave-Client-Type browser для admin JWT
ansible-core-net / deploy (push) Failing after 12s
Без заголовка v3 отвечает 403 на /tokens и остальной API;
секреты админа всегда пишем в /services/remnawave.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:40:24 +07:00
karpenokandCursor 25bf393cab fix(remnawave): не парсить JSON bootstrap при rc!=0
ansible-core-net / deploy (push) Failing after 10s
Иначе Ansible глотает stderr; fail-таска печатает ошибку API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:37:25 +07:00
karpenokandCursor d2d3c704be fix(remnawave): показать stderr bootstrap в CI
ansible-core-net / deploy (push) Failing after 9s
Админ уже создан; нужно увидеть, на каком API v3 падает дальше.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:34:48 +07:00
karpenokandCursor 39d1f66663 fix(remnawave): убрать ${#arr} из bootstrap-шаблона
ansible-core-net / deploy (push) Failing after 11s
Иначе lookup(template) ломается на Jinja-комментарии.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:31:45 +07:00
karpenokandCursor 8f17cbbb62 fix(remnawave): упростить запись секретов в Infisical
ansible-core-net / deploy (push) Failing after 12s
Убрать условные массивы и комментарии с {#, из-за которых
Ansible ломал разбор shell-задачи.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:31:12 +07:00
karpenokandCursor d8fc365ee8 fix(remnawave): не ломать shell на ${#args[@]} в Jinja
ansible-core-net / deploy (push) Failing after 1s
Ansible воспринимает {# как начало комментария.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:30:08 +07:00
karpenokandCursor 58aba40bc0 fix(remnawave): admin password v3 + bootstrap под Remnawave 3.4 API
ansible-core-mon / deploy (push) Failing after 2s
ansible-core-net / deploy (push) Failing after 1s
ansible-ger-nod-02 / deploy (push) Failing after 1s
ansible-opnsense / deploy (push) Failing after 2s
ansible-rus-central / deploy (push) Failing after 2s
ansible-core-secrets / deploy (push) Failing after 2s
Генерируем REMNAWAVE_ADMIN_* (≥24) в /services/remnawave; токены
через name/expiresInDays/scopes; SECRET_KEY ноды из GET /api/keygen/.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:29:10 +07:00
karpenokandCursor 5e0c2553ca fix(remnawave): убрать ulimits nofile для LXC на core-net
ansible-core-net / deploy (push) Failing after 26s
На unprivileged LXC rlimit 1048576 блокирует старт контейнеров;
pull вынесен отдельно с ретраями.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:21:48 +07:00
karpenokandCursor f9fc058b1a fix(remnawave): ensure Infisical folder exists before writing secrets
ansible-core-net / deploy (push) Failing after 1m8s
Create /services/remnawave if missing and pass INFISICAL_* into delegated localhost tasks explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:18:52 +07:00
karpenokandCursor 8caaddc779 feat(remnawave): declarative panel on core-net and SelfSteal node on ger-nod-02
ansible-core-mon / deploy (push) Successful in 25s
ansible-core-secrets / deploy (push) Canceled after 0s
ansible-ger-nod-02 / deploy (push) Canceled after 0s
ansible-opnsense / deploy (push) Canceled after 0s
ansible-rus-central / deploy (push) Canceled after 0s
ansible-core-net / deploy (push) Failing after 26s
Add Remnawave panel+subscription behind Traefik (rw/sub.gunihome.ru), API bootstrap into Infisical, and ger-nod-02 node with Cloudflare DNS-01 SelfSteal (yali.gunis.top). Leaves remna.gunihome.ru on Golova untouched.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-11 22:15:45 +07:00
karpenok a0ec829eee fix(monitoring): escape go templates with raw block in alertmanager-ntfy template
ansible-core-mon / deploy (push) Successful in 12s
2026-11-11 21:06:52 +07:00
karpenok 317b5d6207 feat(monitoring): integrate alertmanager-ntfy and fix host dropdown in node exporter dashboard
ansible-core-net / deploy (push) Successful in 24s
ansible-core-secrets / deploy (push) Successful in 13s
ansible-rus-central / deploy (push) Successful in 1m1s
ansible-core-mon / deploy (push) Failing after 21s
2026-11-11 20:54:55 +07:00
karpenok bf4144a767 docs & refactor: sync secrets docs and clean up env var lookups
ansible-core-mon / deploy (push) Successful in 22s
ansible-core-net / deploy (push) Successful in 24s
ansible-core-secrets / deploy (push) Successful in 15s
ansible-opnsense / deploy (push) Successful in 6s
ansible-rus-central / deploy (push) Successful in 40s
2026-11-11 18:26:51 +07:00
karpenok e443b0fd97 feat(ci): fallback netbird admin credentials to /USER/ADMIN
ansible-core-mon / deploy (push) Successful in 22s
ansible-core-net / deploy (push) Successful in 24s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-opnsense / deploy (push) Successful in 4s
ansible-rus-central / deploy (push) Successful in 37s
2026-11-11 18:09:36 +07:00
karpenok f78d765bac chore(monitoring): remove one-off grafana session cleanup task
ansible-core-mon / deploy (push) Successful in 10s
2026-11-11 18:07:24 +07:00
karpenok 583dd98566 feat(monitoring): enable ntfy web login and purge stale grafana oauth sessions
ansible-core-mon / deploy (push) Successful in 11s
2026-11-11 18:00:49 +07:00
karpenok 18a6b1fbe4 fix(authentik): use bool filter for authentik_enabled conditional
ansible-core-net / deploy (push) Successful in 6s
2026-11-11 17:48:38 +07:00
karpenok c0a9d7f0c8 refactor(auth): remove Authentik SSO, restore basic auth and provision Node Exporter dashboard
ansible-core-mon / deploy (push) Successful in 25s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-core-net / deploy (push) Failing after 25s
ansible-opnsense / deploy (push) Successful in 5s
ansible-rus-central / deploy (push) Successful in 37s
2026-11-11 17:45:21 +07:00
karpenok 94a143623b fix(auth): add email fallback scope for Grafana OAuth and set attribute paths
ansible-core-mon / deploy (push) Successful in 9s
ansible-core-net / deploy (push) Successful in 18s
2026-11-11 17:07:00 +07:00
karpenok 811d65526b feat(auth): integrate Grafana and Ntfy with Authentik SSO
ansible-opnsense / deploy (push) Successful in 3s
ansible-rus-central / deploy (push) Successful in 36s
ansible-core-mon / deploy (push) Successful in 24s
ansible-core-net / deploy (push) Successful in 39s
ansible-core-secrets / deploy (push) Successful in 12s
2026-11-11 16:52:38 +07:00
karpenok 3670bb6033 feat(monitoring): sync grafana admin password from infisical via stdin
ansible-core-mon / deploy (push) Successful in 7s
2026-11-11 16:20:19 +07:00
karpenok 0205a5502a fix(host): clean up legacy docker exporter on core-mon
ansible-core-mon / deploy (push) Successful in 20s
ansible-core-net / deploy (push) Successful in 28s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-rus-central / deploy (push) Successful in 37s
2026-11-11 16:15:15 +07:00