karpenok and Cursor
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
karpenok and Cursor
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
karpenok and Cursor
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-core-secrets / deploy (push) Failing after 2s
ansible-ger-nod-02 / deploy (push) Failing after 1s
ansible-opnsense / deploy (push) Failing after 2s
ansible-rus-central / 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
karpenok and Cursor
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
karpenok and Cursor
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
karpenok and Cursor
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-mon / deploy (push) Failing after 21s
ansible-core-net / deploy (push) Successful in 24s
ansible-core-secrets / deploy (push) Successful in 13s
ansible-rus-central / deploy (push) Successful in 1m1s
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-net / deploy (push) Failing after 25s
ansible-core-secrets / deploy (push) Successful in 12s
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-core-mon / deploy (push) Successful in 24s
ansible-core-net / deploy (push) Successful in 39s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-opnsense / deploy (push) Successful in 3s
ansible-rus-central / deploy (push) Successful in 36s
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
karpenok
7b2f6790c4
feat(host): install and enable prometheus-node-exporter on all managed hosts
ansible-core-mon / deploy (push) Failing after 31s
ansible-core-net / deploy (push) Successful in 50s
ansible-core-secrets / deploy (push) Successful in 38s
ansible-rus-central / deploy (push) Successful in 59s
2026-11-11 16:12:05 +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
2445df7146
ci(core-mon): trigger full bootstrap of core-mon container
ansible-core-mon / deploy (push) Failing after 1m13s
2026-11-11 16:06:08 +07:00
karpenok
f26e0bfe57
feat(monitoring): add core-mon ansible playbook, roles, workflows, and traefik routes
ansible-core-mon / deploy (push) Failing after 7s
ansible-core-net / deploy (push) Successful in 26s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-opnsense / deploy (push) Successful in 3s
ansible-rus-central / deploy (push) Successful in 44s
2026-11-11 16:00:53 +07:00
karpenok
9e9b8e9caf
feat(terraform): add core-mon LXC container definition on netcore
2026-11-11 15:56:07 +07:00
karpenok
38fc67048a
fix(opnsense): set timeout for netbird up action
ansible-opnsense / deploy (push) Successful in 12s
2026-11-11 14:53:32 +07:00
karpenok
ca604926d1
feat(traefik): add TCP SNI passthrough for central.gunihome.ru
ansible-core-net / deploy (push) Successful in 17s
2026-11-11 14:51:47 +07:00
karpenok
514d758600
fix(opnsense): use custom HTTPS WebGUI port 4433 for OPNsense REST API
ansible-opnsense / deploy (push) Failing after 33s
2026-11-11 13:00:43 +07:00
karpenok
822ae43992
feat(opnsense): add declarative NetBird plugin role and CI workflow
ansible-opnsense / deploy (push) Failing after 33s
2026-11-11 12:57:44 +07:00
karpenok
11b6539a7b
fix(netbird): extract plain_token from PAT response and add OAuth2 PKCE token fallback
ansible-rus-central / deploy (push) Successful in 20s
2026-11-11 12:56:27 +07:00
karpenok
324327ee24
feat(netbird): automate admin setup, API token, setup key, and LAN route on rus-central
ansible-core-net / deploy (push) Successful in 25s
ansible-core-secrets / deploy (push) Successful in 10s
ansible-rus-central / deploy (push) Failing after 1m24s
2026-11-11 12:46:01 +07:00
karpenok
842a633916
chore(ansible,ci): align workflow paths, shared letsencrypt_email, and netbird task tags
ansible-core-net / deploy (push) Successful in 27s
ansible-core-secrets / deploy (push) Successful in 12s
ansible-rus-central / deploy (push) Successful in 36s
2026-11-11 11:35:45 +07:00
karpenok and Cursor
a0507719b0
refactor: drop the finished secrets migration from the deploy path
...
Product tags now come from the role directory, and edits to the CI scripts no longer redeploy every machine.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-11 00:09:23 +07:00
karpenok and Cursor
9f337445a9
fix(authentik): pin Redis 8 so the existing RDB dump loads
...
ansible-core-net / deploy (push) Successful in 13s
Redis 7.4 refuses the dump written by the previous redis:alpine image, so Authentik stays down after deploy.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-10 23:59:31 +07:00
karpenok and Cursor
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
341538fba9
refactor: update authentik configuration and convert core_net dashboard template to static file
ansible-core-net / deploy (push) Successful in 25s
2026-11-10 23:10:50 +07:00
karpenok and Cursor
a243ae281c
fix(authentik): grant the embedded outpost access to its providers
...
ansible-core-net / deploy (push) Successful in 41s
The outpost service account could not see the Traefik provider, so the forward-auth path stayed on Django and returned Not Found.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-10 21:58:31 +07:00
karpenok and Cursor
9e0dfa74c1
fix(traefik): send dashboard outpost paths to Authentik
...
ansible-core-net / deploy (push) Successful in 32s
The dashboard host was forwarding /outpost.goauthentik.io through forward auth, so Authentik answered with its own Not Found page.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-11-10 21:54:37 +07:00
karpenok
340964523e
feat(authentik): integrate Traefik dashboard with Authentik for admin access control and streamline secret management
ansible-core-net / deploy (push) Successful in 33s
2026-11-10 21:27:56 +07:00
karpenok
3a8ef2579b
feat(authentik): add blueprint directory setup and apply functionality
ansible-core-net / deploy (push) Successful in 35s
2026-11-10 21:03:25 +07:00
karpenok
f0f3b61407
fix(authentik): use standard CMD redis-cli ping healthcheck
ansible-core-net / deploy (push) Successful in 30s
2026-11-10 20:03:40 +07:00
karpenok
f7505333db
fix(authentik): recursively enforce correct UIDs for postgres and redis data dirs
ansible-core-net / deploy (push) Failing after 30s
2026-11-10 19:56:20 +07:00
karpenok
172614e421
fix(authentik): set proper ownership and permissions for media and custom-templates dirs
ansible-core-net / deploy (push) Successful in 21s
2026-11-10 19:50:40 +07:00
karpenok
10cf792e4e
feat(auth): deploy Authentik on CT 902 with Zero-Knowledge secret bootstrap and safe Traefik route
ansible-core-net / deploy (push) Successful in 2m39s
2026-11-10 19:40:54 +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
03b6b0ee56
fix(ci): decouple terraform state from traefik via direct gitea http and document master keys in bootstrap
2026-11-10 18:23:38 +07:00
karpenok
f76cad9c73
fix(ci): decouple runner from traefik via direct infisical lan endpoint and pin traefik version
ansible-core-net / deploy (push) Successful in 31s
2026-11-10 17:54:39 +07:00
karpenok
abe9280a30
fix(security): eliminate all plaintext hashes from CI and unify compose package in host role
2026-11-10 17:19:20 +07:00
karpenok
7b38efbd0e
fix(ci): export both /ci-cd and /services/traefik in ansible-core-net
2026-11-10 17:05:12 +07:00
karpenok
2e5cd90781
fix(ci): store traefik secrets under /services/traefik in Infisical
2026-11-10 17:00:24 +07:00
karpenok
75b12de642
fix(ci): ensure /services/netbird folder is created in Infisical before setting secrets
2026-11-10 16:51:46 +07:00
karpenok
4ab29058fe
fix(security): move dashboard auth and netbird secrets to Infisical lifecycle
ansible-core-net / deploy (push) Successful in 21s
2026-11-10 16:44:23 +07:00
karpenok
309b6538d0
fix(ansible): restore package name docker-compose for Debian 12
ansible-core-net / deploy (push) Successful in 18s
ansible-core-secrets / deploy (push) Successful in 16s
2026-11-10 15:18:47 +07:00
karpenok
5431e50d1c
fix(security): remove root password, pin image versions, update compose package
ansible-core-net / deploy (push) Failing after 5s
ansible-core-secrets / deploy (push) Failing after 4s
2026-11-10 15:10:58 +07:00
karpenok
3a3b6914db
remove obsolete pve-proxmox.yml dynamic inventory file
ansible-core-net / deploy (push) Successful in 19s
2026-11-10 13:05:31 +07:00
karpenok
d8b56cc1a8
fix(ci): pass auth token explicitly to infisical export from universal-auth login
2026-11-10 12:04:55 +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
efc23dfac2
feat(routes): switch pass.gunihome.ru to core-secrets (192.168.1.102)
ansible-core-net / deploy (push) Successful in 20s
2026-11-09 23:24:06 +07:00
karpenok
e8344bb29a
fix(ansible): ensure Docker is installed in core_net and fix package name in core_secrets
ansible-core-net / deploy (push) Successful in 20s
ansible-core-secrets / deploy (push) Successful in 2m41s
2026-11-09 22:49:49 +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
3f306a0891
test: delete temporary probe_check.yml to verify runner deletion
ansible-core-net / deploy (push) Successful in 15s
2026-11-09 21:40:05 +07:00
karpenok
0cbb291fb6
test: add temporary probe_check.yml to verify runner addition
ansible-core-net / deploy (push) Successful in 16s
2026-11-09 21:38:56 +07:00
karpenok
2ded3a8585
feat(ci): enable automatic push trigger and declarative file deletion sync in core_net role
ansible-core-net / deploy (push) Successful in 16s
2026-11-09 21:35:29 +07:00
karpenok
93c3afaebf
feat(ci): add ansible-core-net workflow to deploy Traefik to /opt/traefik via Gitea runner
2026-11-09 21:22:58 +07:00
karpenok
2ca68a26bb
chore(ansible): specify root_home ssh key for core-net host
2026-11-09 21:06:13 +07:00
karpenok
ed18326c6c
feat(ansible): add core_net role, dynamic routes and playbook for Traefik gateway
2026-11-09 20:59:13 +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
afd7661ee8
fix(ci): use /api/packages registry path for terraform state and per-target proxmox token
2026-11-09 20:30:14 +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
2ca6e9a402
docs: remove README.md
2026-11-08 18:42:58 +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
karpenok
d5dfc02889
feat: add ansible password for rus-central host in production inventory
2026-11-08 17:21:26 +07:00
karpenok
e3b8f56ff8
revert: return to clean state after successful NetBird installation (remove vault and bitwarden)
2026-11-08 17:17:27 +07:00
karpenok
a49f271b4f
feat(security): switch secrets management to Bitwarden dynamic lookup and clean repository
2026-11-08 16:56:01 +07:00
karpenok
8df7cef716
refactor: restructure group_vars/all into a directory with separate vault file
2026-11-08 15:39:32 +07:00
karpenok
025ae1d8b9
refactor(vault): объединить все переменные в единый inventories/prod/group_vars/all.yml (inline vault)
2026-11-08 15:29:15 +07:00
karpenok
d4e0470a49
feat(vault): перейти на Ansible Vault для хранения секретов проекта
2026-11-08 15:23:30 +07:00
karpenok
17b30870bb
fix(inventory): обновить пароль для rus-central
2026-11-08 14:35:32 +07:00
karpenok
c9c49df792
fix: update password for rus-central host in prod inventory
2026-11-08 14:25:23 +07:00
karpenok
6107484539
update production host password for rus-central
2026-11-08 14:08:38 +07:00
karpenok
07539068ef
fix: update production global variables in inventory
2026-11-08 14:07:59 +07:00
karpenok
3481829b62
feat: вынести admin_email и letsencrypt_email в group_vars/all.yml
2026-11-08 14:06:07 +07:00
karpenok
a084498d0d
refactor: update netbird domain in prod inventory
2026-11-08 13:52:55 +07:00
karpenok
d714978a70
chore(netbird): переключить домен на central.gunihome.ru
2026-11-08 13:29:29 +07:00
karpenok
dc14605fbd
fix(ansible): использовать стандартный встроенный stdout_callback = default
2026-11-08 13:20:10 +07:00
karpenok
09f5afe564
feat(ci): использовать готовый локальный образ homelab-ansible:latest, поддержать смену домена в .env
2026-11-08 13:15:20 +07:00
karpenok
cd5ffb9804
refactor: update netbird_domain in prod inventory
2026-11-08 12:54:58 +07:00
karpenok
13df0397a0
fix: update production host ansible password for rus-central
2026-11-08 12:50:31 +07:00
karpenok
9d691d659a
chore: add host password and update ansible collections requirements
2026-11-08 12:49:19 +07:00
karpenok
69e098415b
refactor: перейти на ansible.posix.authorized_key, очищать ключ раннера и поддержать внешние секреты
2026-11-08 12:38:02 +07:00
karpenok
7ff2b00d27
fix(host): правильный публичный ключ runner и flush_handlers для SSH
2026-11-08 12:22:01 +07:00
karpenok
fd8012ce63
fix(ssh): отключить пароли через 00-disable-passwords.conf, удалить временный пароль из hosts
2026-11-08 12:16:52 +07:00
karpenok
0d19f80039
feat(host): добавить ключи root_home и раннера, отключить вход по паролю
2026-11-08 12:10:18 +07:00
karpenok
5f91f7bc95
up
2026-11-08 11:36:41 +07:00