chrisfu
7fcf419c01
Refactor admin key handling in init_cloudnative_pg.sh to support generic naming and simplify key management. Introduce dynamic CNPG version resolution and fetch the latest release automatically.
2026-01-31 00:58:07 -08:00
chrisfu
0e1b588637
fix missing file
2026-01-31 00:35:48 -08:00
chrisfu
ed39bac75c
Merge branch 'main' of github.com:dredx/prole
2026-01-30 23:40:49 -08:00
chrisfu
a720ad9d4f
Enable fallback to RSA for SSH key generation and streamline keypair handling.
...
- Add a fallback mechanism to RSA when ed25519 key generation fails in `install.py`.
- Update SSH key generation logic to avoid ed25519-specific messaging.
- Simplify comments and logic in `init_openbao.sh` by removing ed25519 assumptions.
- Compact XML formatting for port-mappings.
2026-01-30 23:40:34 -08:00
chrisfu
a7cb5b5fca
Add prole_cfg.sh sourcing for configuration management
...
- Consistently source `prole_cfg.sh` across multiple init scripts for unified configuration handling.
- Enhanced error handling in `screen.py` to manage potential UI exceptions gracefully.
- Improved asynchronous function scheduling using the new `safe_after` method.
2026-01-30 23:37:32 -08:00
chrisfu
a9c1c18891
samba family passwords never expire
2026-01-30 00:03:29 -08:00
chrisfu
ac95cdba00
cleaning up; tests in the folder, scripts in the desk
2026-01-29 23:58:43 -08:00
chrisfu
f0e75f6107
feat: complete end-to-end installation and storage integration. This commit marks a significant milestone where the end-to-end installation process is now fully functional. Key changes: Integrated Garage storage service (S3-compatible); Implemented Prole DB backup; Enhanced Kerberos integration; Updated default namespace to prole-chrisfu-deadbeef; Streamlined dependencies (removed Ollama); Added installation validation and testing scripts; Improved installer UI and deployment logic.
2026-01-29 22:50:05 -08:00
chrisfu
519235558a
add ansible role samba_dns. master group_vars/all/dns.yml\nfixed role iscsi
2026-01-29 16:58:30 -08:00
chrisfu
706fbbd28b
ansible correct retropie fstab
2026-01-29 00:50:45 -08:00
chrisfu
05ff335e3e
Add cluster existence check and hostNetwork patch application
...
- Ensure cluster exists before attempting to patch the image in `init_prole-db.sh`.
- Introduce function to apply hostNetwork patch for OpenBao in `init_openbao.sh`.
2026-01-28 23:23:47 -08:00
chrisfu
dda938ee95
Integrate namespace setup and management into scripts, Dockerfile, and update installer UI.
2026-01-28 23:02:50 -08:00
chrisfu
d7b6a72ece
Refactor cgroups task for cleaner syntax using a ternary filter
2026-01-28 15:27:12 -08:00
chrisfu
c2498594a2
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# infrastructure/roles/cgroups/tasks/main.yml
2026-01-28 15:18:53 -08:00
chrisfu
826f28ccdb
Add cgroups prerequisite role for k3s
2026-01-28 15:17:26 -08:00
chrisfu
48e169432c
Add cgroups prerequisite role for k3s
2026-01-28 15:10:20 -08:00
chrisfu
b1dde37f8c
Add serial execution and integrate cgroup role in k3s reset playbook
2026-01-28 15:03:10 -08:00
chrisfu
f18bf3d1fa
Merge branch 'main' of github.com:dredx/prole
2026-01-28 14:38:58 -08:00
chrisfu
d7c4778b51
Add preflight checks for cgroup kernel params in k3s setup
...
- Ensure cgroup kernel parameters are present before k3s installation.
- Introduce playbook changes to integrate cgroup prerequisites role.
2026-01-28 14:38:36 -08:00
chrisfu
7ecc69c969
Add preflight checks for cgroup kernel params in k3s setup
...
- Ensure cgroup kernel parameters are present before k3s installation.
- Introduce playbook changes to integrate cgroup prerequisites role.
2026-01-28 14:35:29 -08:00
chrisfu
11a1a32677
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# infrastructure/roles/k3s/tasks/main.yml
2026-01-28 13:44:09 -08:00
chrisfu
2e4d785de3
Refactor k3s version installation logic to use a ternary filter for cleaner syntax in main.yml.
2026-01-28 13:43:46 -08:00
chrisfu
852b1f8949
Refactor k3s version installation logic to use a ternary filter for cleaner syntax in main.yml.
2026-01-28 13:42:09 -08:00
chrisfu
887c485c32
Add playbooks for k3s reset and deletion with vault token removal. Include k3s cleanup tasks role.
2026-01-28 13:34:37 -08:00
chrisfu
23624eb692
ansibles roles k3s, local_user
2026-01-28 13:05:28 -08:00
chrisfu
b4cea8c6f5
add samba_ad_dc role
2026-01-28 12:41:06 -08:00
chrisfu
987a7acda1
correct myrddin prole-db mount point
2026-01-28 12:17:35 -08:00
chrisfu
58d693de05
UI: Standardized console appearance and fixed cosmetic inconsistencies. This commit establishes a stable, consistent UI across the entire installer: Unified 'Light Background, Dark Text' theme for all console components. Standardized console creation routine to eliminate thick black borders on macOS. Refactored SSH key generation to use the standard canvas-based layout. Switched to tk.Frame and tk.Scrollbar for TerminalConsole to resist macOS dark mode shifts. Fixed shutil.SameFileError when PROLE_HOME matches the source directory. Improved notebook styling for inactive tabs and execution outputs. All screens now share the same professional look and feel.
2026-01-27 22:32:27 -08:00
chrisfu
453ccfd015
Add k3s kubeconfig user configuration and iSCSI target defaults
2026-01-27 21:46:56 -08:00
chrisfu
c7a651552a
Samba Active Directory family user setup script
2026-01-27 16:51:35 -08:00
chrisfu
5e823f82a8
feat(supabase): add optional init flow, k8s manifests, and docs
...
• install.py
• etc/init_supabase.sh
• k8s/prole/kustomization.yaml
• k8s/prole/prole-db-postgres-service.yaml
• k8s/prole/supabase-configmap.yaml
• k8s/prole/supabase-deployment.yaml
• k8s/prole/supabase-service.yaml
• prole-db/supabase.md
2026-01-27 13:06:35 -08:00
chrisfu
89c1e1ebef
ansible add /prole/home
2026-01-27 00:43:17 -08:00
chrisfu
5803e319d5
add missing vals
2026-01-26 20:46:44 -08:00
chrisfu
37156086aa
ansible stable
2026-01-26 18:56:17 -08:00
chrisfu
79515fb0ec
fix LUN PROLE-PI-2 iqn
2026-01-26 16:55:56 -08:00
chrisfu
862f21fe1d
reusability
2026-01-26 00:08:29 -08:00
chrisfu
035d63090c
Fix Ansible YAML parsing errors and standardize host_vars. Removed invalid '---' document separators from host_vars files, merged redundant myrddin config, and renamed host_vars to use .yml extension. Verified with successful ansible-playbook --syntax-check.
2026-01-25 23:36:25 -08:00
chrisfu
ff1150fa9e
add iscsi mount guardrails. get k3s server token script
2026-01-25 22:18:10 -08:00
chrisfu
613d9bfbc6
ansible add myrddin.prole.org host_vars
2026-01-25 21:27:53 -08:00
chrisfu
20d408ff36
add iscsi role and vault
2026-01-25 15:31:33 -08:00
chrisfu
5cb2dbdc57
fix k3s role
2026-01-25 06:00:38 -08:00
chrisfu
7c25d731ce
/var/log/pihole SAN mounted
2026-01-25 05:33:40 -08:00
chrisfu
b250d17a93
added iscsi role, ensure /var/lib/rancher storage is mounted before k3s
2026-01-25 01:26:07 -08:00
chrisfu
05f1058204
Refactor rsyslog template path and introduce noswap role:
...
- Modified `10-server.conf.j2` to use `%HOSTNAME%/%programname%.log` for log file paths.
- Added `noswap` role with tasks for swap management: disabling swap, removing swap entries, managing dphys-swapfile, and zramswap services.
- Included handlers for reloading systemd after changes.
2026-01-24 01:32:01 -08:00
chrisfu
63384fa309
fix missing file
2026-01-24 00:54:24 -08:00
chrisfu
c0b15f2609
Update Ansible configuration to enable run_logger callback plugin
...
- Added `callback_plugins` and `callbacks_enabled` configurations in `ansible.cfg` and `infrastructure/ansible.cfg` to activate the `run_logger`.
2026-01-24 00:41:34 -08:00
chrisfu
829d8d14fd
k3s should not initialize and start yet, install, ensure stopped. k3s storage next before init
2026-01-24 00:35:11 -08:00
chrisfu
1a5c6d844e
Enhance install.py to manage prole.cfg generation and configuration capturing
...
- Introduced `prole_cfg_data` to maintain configuration sections like Global, Network, and Kerberos Authentication.
- Implemented `_save_prole_cfg` to generate the `prole.cfg` file used for Ansible deployment.
- Captured environment and network settings into the configuration data structure.
- Integrated configuration updates throughout the installer workflow, ensuring comprehensive data capture for subsequent processes.
2026-01-23 20:33:29 -08:00
chrisfu
59cc9f7edf
Update K3s and Samba DNS configurations
...
- Change K3s service to be stopped and disabled by default.
- Adjust PTR records in the inventory to ensure correct FQDN mappings.
- Refactor Samba DNS task to use include_tasks for PTR records.
2026-01-23 20:33:17 -08:00
chrisfu
dfed907938
Fix k3s_node_ip detection on hosts without wired IP: Added fallback to default IPv4 address if none of the specified wired interfaces have an IP address.
2026-01-21 20:39:10 -08:00