chrisfu
125da5669b
Fix k3s CNPG image registry resolution and import flows
...
- In k3s mode, resolve CNPG images to a cluster-reachable internal registry and ignore k3d/localhost-ish registry values.
- Avoid any k3d cluster/containerd interactions when PROLE_MODE=k3s; add a preflight-image action.
- Extend init scripts and Ansible k3s/mariadb import tasks/playbooks for the updated k3s flow.
- Add/extend installer UI + tests around services and action/milestone helpers.
- Add merlin MariaDB provisioning playbook, services init-script test, and a k3s datastore SQL snapshot.
Co-authored-by: Junie <junie@jetbrains.com>
2026-03-07 00:23:00 -08:00
chrisfu
d2295f4c2b
ansible: add K3s datastore export/import, improve iSCSI handling, and migrate merlin to MariaDB primary
...
- Added tasks and playbooks for K3s datastore export/import using MariaDB Tools role, with associated tests and defaults.
- Enhanced iSCSI role to support mkfs-once logic and safer re-initialization of block storage.
- Migrated iSCSI-backed Rancher data from retropie to merlin.prole.org.
- Updated k3s roles/playbooks to relax Rancher storage preflight checks, supporting PARTUUID-based mounts.
- Adjusted Samba AD NetBIOS name derivation to use uppercase short hostname by default.
- Incremented prole DB version to 104, updated generated prole.cfg, inventory, and recovery manifest templates.
2026-03-06 14:25:13 -08:00
chrisfu
cf6d79f505
ansible: fix netplan_static YAML, dashboard conky pkg, mariadb vault vars
...
- netplan_static: avoid Jinja whitespace/indent YAML breakage with trim_blocks; set /etc/netplan perms to 0600; add render+YAML-parse test
- dashboard: install concrete conky provider (conky-all) and add defaults test; wire role into site.yml; document dashboard service usage
- mariadb: add mariadb parent group for group_vars scope; add group defaults deriving datastore password from vault; add vault entry; add vars resolution test; remove host overrides
- misc: update port-forward mappings, generated prole.cfg, and bump prole-db version
Co-authored-by: Junie <junie@jetbrains.com>
2026-03-05 23:02:42 -08:00
chrisfu
78a16f47e2
ansible: add merlin k3s host + USB-backed MariaDB bring-up
...
- Add merlin.prole.org (10.0.0.6) to inventory (k3s_hosts, mariadb_primary)
- Relax k3s preflight: /var/lib/rancher no longer requires iSCSI, only blocks SD-backed storage
- Add netplan static IP role (NetworkManager) and MariaDB primary/replica roles + site.yml ordering
- Add/upgrade USB prep tooling (prepare_mariadb_usb.sh + generated setup.sh + fstab-by-LABEL)
Co-authored-by: Junie <junie@jetbrains.com>
2026-03-05 19:17:40 -08:00