Commit Graph

56 Commits

Author SHA1 Message Date
603abe63cb refactor: make bootstrap host target configurable 2026-02-20 16:58:59 +01:00
b4e8ccb77f fix: re-gather facts after reboot to detect target OS package manager
The live ISO (Arch) caches ansible_pkg_mgr=pacman. After rebooting
into the target OS (e.g. Debian), package module fails because pacman
is not available. Re-gather minimal facts including pkg_mgr.
2026-02-20 16:58:59 +01:00
2a82ee4d5c fix: resolve Jinja2 .keys ambiguity, fastfetch availability, and python interpreter
- Use bracket notation item['keys'] instead of item.keys to avoid
  conflict with Python dict .keys() method
- Remove fastfetch from Debian 12 package list (only available in 13+)
- Set explicit python interpreter path for post-reboot tasks
2026-02-20 16:58:58 +01:00
8f8ce341ae refactor(users): migrate system.user to system.users[] for multi-user support 2026-02-12 22:52:15 +01:00
66057bc9b2 feat(network): make interfaces[] canonical, normalize flat fields as AWX compat 2026-02-12 22:17:02 +01:00
67c320fcc2 fix(vars): enforce strict list-only DNS and user.key format for IaC compatibility 2026-02-12 21:50:55 +01:00
673a9b6062 fix(playbook): reset SSH connection before post-reboot tasks 2026-02-12 02:06:58 +01:00
a60e6fd0d3 refactor(bootstrap): nest network fields under system.network to match main project schema 2026-02-11 23:03:37 +01:00
d8fcc6033d refactor(playbook): rename prompt variables with backwards-compatible fallbacks 2026-02-11 08:02:27 +01:00
636656214b refactor(schema): rename nested dict keys and simplify validation 2026-02-11 05:37:18 +01:00
b8c672507f refactor(vars): simplify normalization and remove effective intermediates 2026-02-11 05:37:18 +01:00
961c8f259c refactor(vars): enforce nested system and hypervisor schema 2026-02-11 05:37:18 +01:00
9101e12126 refactor(vars): remove legacy variable inputs 2026-02-11 05:37:18 +01:00
fc05708466 refactor(vars): add system/hypervisor dict inputs 2026-02-11 05:37:18 +01:00
53b4390ebf Fix post-reboot extra packages task 2026-01-02 15:55:27 +01:00
41cccbb547 Drop vars.yml usage 2026-01-02 15:10:35 +01:00
14d774ffac Inline extra package normalization 2026-01-02 15:10:34 +01:00
40df28f59b Move pre-tasks into global defaults 2026-01-02 15:10:34 +01:00
2672da4187 Restore global defaults lint exclusion 2026-01-02 15:10:34 +01:00
0143517787 Map global defaults in playbook 2026-01-02 15:10:34 +01:00
e9bf0c8242 Fix lint formatting and exceptions 2026-01-02 15:10:34 +01:00
8395ad9e90 Define optional defaults and require vm_cpus 2026-01-02 11:25:06 +01:00
0bd85319f6 Remove defaults for required vars 2025-12-28 17:10:00 +01:00
8eed5c04c4 Move global defaults into role defaults 2025-12-28 16:47:53 +01:00
e7c5166128 Normalize user-facing defaults 2025-12-28 16:41:11 +01:00
c353be967a Playbook flow and environment prep 2025-12-25 20:47:37 +01:00
259604470f Add Debian 13 (Trixie) support 2025-08-11 21:37:25 +02:00
774f9529b1 Fix rhel10 variable assertion 2025-07-06 04:36:55 +02:00
caab1a8690 Update Fedora to 42 2025-07-06 04:28:59 +02:00
93dae69781 Add rhel10 support 2025-06-17 03:13:30 +02:00
17f2a1a93e Do not check if VM is back on vmware with cis activated, it will fail 2025-01-21 21:30:56 +01:00
c84ddd70db Add ssh key survey 2025-01-21 20:00:18 +01:00
febd87919f CIS Adjustments 2025-01-21 19:55:36 +01:00
f5c09571c0 Add some extra packages and vi mode for bash 2024-11-05 03:36:15 +01:00
88d77cf9a6 Add final check if the VM is up and running after reboot 2024-11-01 23:58:52 +01:00
a6da314d3b Preper Shutdown so VMware does not corrupt the installation 2024-10-31 18:27:31 +01:00
e5d4886246 Add SWAP support 2024-10-31 05:46:33 +01:00
d47296a918 improve VMware cleanup 2024-10-31 01:12:51 +01:00
72305d48a3 Fix variable hierarchy 2024-10-30 22:19:00 +01:00
fa175eeb78 set cis default value 2024-10-30 18:14:29 +01:00
98bdb9b824 Fix VM Connection if hypervisor is VMware 2024-10-30 17:57:22 +01:00
d499e222bb Fix recursion 2024-10-30 17:09:22 +01:00
1201fe8f4b fix jinja syntax 2024-10-30 17:05:50 +01:00
5742a9fd78 Move hypervisor and disk variable from main playbook 2024-10-30 16:58:22 +01:00
b6ab48d062 move vm_ip back since it is not a permanent/static variable 2024-10-30 14:10:37 +01:00
8cc54806c1 Move some persstent Vars to main playbook 2024-10-30 14:01:07 +01:00
c437e4c43d Assertion for minimum filesystem size 2024-10-30 00:44:19 +01:00
1e625fd138 Add RHEL8 and RHEL9 support 2024-10-30 00:29:46 +01:00
ca5caba602 Specify changed_when for shell commands 2024-10-28 19:20:05 +01:00
9ad4e96806 Replace ignore_errors with failed_when 2024-10-28 18:56:00 +01:00