Compare commits

..

160 Commits

Author SHA1 Message Date
f8eaa41fc2 fix(partitioning): register swapoff result for changed_when handling 2026-02-11 23:47:36 +01:00
ed8da6e4e2 fix(luks): complete migration of partitioning_luks_tpm2_device reference 2026-02-11 23:28:05 +01:00
a60e6fd0d3 refactor(bootstrap): nest network fields under system.network to match main project schema 2026-02-11 23:03:37 +01:00
45c002c2dd fix(bootstrap): correct changed_when on state-changing commands 2026-02-11 21:06:10 +01:00
7a76f58384 refactor(luks): use system_cfg.luks directly across roles 2026-02-11 19:26:51 +01:00
8c0716508e fix: honor libvirt network config, preserve DHCP DNS with search-only NM config, and exact-match Xen VM names 2026-02-11 14:00:20 +01:00
e5d2720bfe docu(readme): recompose README from pre/post consolidation versions 2026-02-11 08:25:15 +01:00
cd34b41862 fix(banner): align MOTD star border and default motd to disabled 2026-02-11 08:02:27 +01:00
37130da17b fix(libvirt): restore missing virtualization_mac_address default 2026-02-11 08:02:27 +01:00
4be9e2bfe1 refactor(safety): remove redundant live environment detection from system_check 2026-02-11 08:02:27 +01:00
d8fcc6033d refactor(playbook): rename prompt variables with backwards-compatible fallbacks 2026-02-11 08:02:27 +01:00
fc8f43a25a refactor(validation): deduplicate hypervisor combine and collapse schema checks 2026-02-11 08:02:27 +01:00
70475f4082 refactor(system): simplify normalization by removing redundant intermediate merges 2026-02-11 08:02:27 +01:00
865d96c18e fix(bootstrap): repair version-specific package availability across distributions 2026-02-11 08:02:27 +01:00
920e7d3f21 docu(readme): consolidate final documentation state 2026-02-11 05:37:18 +01:00
9f6fff313b fix(config): enable dictionary merge for scoped overrides 2026-02-11 05:37:18 +01:00
e7323258fd refactor(schema): move filesystem into system dictionary 2026-02-11 05:37:18 +01:00
3d026407e5 refactor(configuration): simplify grub commandline variable assembly 2026-02-11 05:37:18 +01:00
469d89641e refactor(configuration): reduce LUKS runtime temporary facts 2026-02-11 05:37:18 +01:00
5326907ae9 refactor(schema): simplify dict normalization and schema checks 2026-02-11 05:37:18 +01:00
aac2bd0b06 docu(schema): update docs and examples to compact dict keys 2026-02-11 05:37:18 +01:00
636656214b refactor(schema): rename nested dict keys and simplify validation 2026-02-11 05:37:18 +01:00
e2a42771ab docu(schema): align docs and baremetal example with dict model 2026-02-11 05:37:18 +01:00
8894da2ea1 fix(validation): reject deprecated top-level schema keys 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
04727033f1 fix(system): default physical installs to archlinux when os is omitted 2026-02-11 05:37:18 +01:00
a9db85d45e docu(readme): document dict-based variables and examples 2026-02-11 05:37:18 +01:00
fcc7c6aeb6 fix(runtime): migrate roles to nested system fields 2026-02-11 05:37:18 +01:00
db08609acf feat(disks): add standardized multi-disk mount schema 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
c4c96dbfb5 fix(partitioning): add LVM extent headroom 2026-02-06 00:43:02 +01:00
5ff0bac9d8 fix(network): Removes hardcoded MAC-Address from NetworkManager config 2026-01-05 18:22:18 +01:00
3d8b623f66 refactor(services): remove unnecessary firewalld services disablement. 2026-01-05 18:19:14 +01:00
a093bf3e28 feat(services): implement SSH server toggeling 2026-01-05 18:18:18 +01:00
a90e08cd4f Force local stat for third-party prep tasks 2026-01-02 19:15:34 +01:00
a5a58710a2 Force local connection for third-party prep check 2026-01-02 19:14:11 +01:00
51c0f58b16 Run third-party prep check locally 2026-01-02 19:02:00 +01:00
21318b8c8a Fix localhost delegate for third-party prep check 2026-01-02 18:58:40 +01:00
c3f26f2c92 Add third-party preparation task hook 2026-01-02 18:55:45 +01:00
c62de8bf4a Make chroot command configurable 2026-01-02 18:53:55 +01:00
c5e01c3652 Add swap_enabled toggle for swap setup 2026-01-02 18:51:27 +01:00
49372309d2 Add zstd toggle for btrfs and zram 2026-01-02 18:47:32 +01:00
a669e3ddfb Update LVM swap sizing policy 2026-01-02 16:29:24 +01:00
9b070c6e8d Enforce 20GiB minimum vm_size 2026-01-02 16:18:14 +01:00
cc07a896d9 Enable full-disk LVM root sizing 2026-01-02 16:11:06 +01:00
88a8737115 Use systemd module and link timezone 2026-01-02 16:10:50 +01:00
76bbff43c0 Document partitioning overrides and inventory host vars 2026-01-02 16:10:50 +01:00
53b4390ebf Fix post-reboot extra packages task 2026-01-02 15:55:27 +01:00
8a369de5d7 Align ESP sizing to full 512 MiB 2026-01-02 15:10:35 +01:00
74fbfbccb5 Mount Debian ESP on /boot/efi without LUKS 2026-01-02 15:10:35 +01:00
41cccbb547 Drop vars.yml usage 2026-01-02 15:10:35 +01:00
ba9654b7bd Make inventory examples more generic 2026-01-02 15:10:34 +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
20e10c3627 Drop custom_iso_enabled and log 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
a6d71125e8 Increase EFI system partition size 2026-01-02 15:10:34 +01:00
df90672237 Add Molecule scaffolding 2026-01-02 11:26:21 +01:00
65494a6977 Add libvirt inventory matrix example 2026-01-02 11:26:06 +01:00
52c67c5a39 Move derived vars into role defaults 2026-01-02 11:25:51 +01:00
1c23055dd2 Add firewalld_enabled toggle 2026-01-02 11:25:40 +01:00
8395ad9e90 Define optional defaults and require vm_cpus 2026-01-02 11:25:06 +01:00
e59f056904 Move partitioning LUKS defaults into role 2026-01-02 11:23:31 +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
cf179b0d16 Normalize LUKS boot layout and partitioning defaults 2025-12-28 16:00:49 +01:00
f4b4a669ba Update Fedora to 43 2025-12-28 04:04:27 +01:00
5288167825 Restore Debian ESP mount layout 2025-12-28 02:24:33 +01:00
7cf0dabc3c Fix Debian initramfs regeneration 2025-12-28 01:54:14 +01:00
34d70c0edc Ensure initramfs-tools for Debian/Ubuntu 2025-12-28 01:29:26 +01:00
73b42f29cb Enable GRUB cryptodisk defaults 2025-12-28 00:46:09 +01:00
b0d9adcf13 Fix bootstrap package list rendering 2025-12-28 00:12:37 +01:00
cbc88c8d03 Condition LUKS and guest tools in bootstrap vars 2025-12-27 23:52:06 +01:00
4705db7fe2 Fix Debian EFI mount layout 2025-12-27 23:49:21 +01:00
1d8d4cc4fd Docs, examples, and tooling 2025-12-27 23:07:47 +01:00
3f0408e271 CIS role split and permission safety 2025-12-27 22:27:26 +01:00
6e30bbb4ff Cleanup refactor and libvirt removal tooling 2025-12-27 21:44:33 +01:00
5914d216ce Virtualization TPM2 and cloud-init fixes 2025-12-27 20:19:11 +01:00
cc8b95463a Partitioning idempotency and filesystem tasks 2025-12-26 23:31:54 +01:00
7323781046 LUKS enrollment and RHEL cmdline/BLS 2025-12-26 22:09:08 +01:00
eba93f90b7 Configuration role refactor and network template 2025-12-26 20:38:42 +01:00
2873c8f81a Split bootstrap by OS 2025-12-25 22:12:19 +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
b2f812823a Update doc to Fedora 42 2025-07-07 15:24:17 +02:00
774f9529b1 Fix rhel10 variable assertion 2025-07-06 04:36:55 +02:00
5d7778c13e use proper datacenter variable 2025-07-06 04:34:16 +02:00
caab1a8690 Update Fedora to 42 2025-07-06 04:28:59 +02:00
0989849163 Use the proper property name 2025-06-24 16:57:18 +02:00
698ffc61f1 Fix VM state after cleanup 2025-06-24 16:54:57 +02:00
d106111f15 use proper filename for role variables 2025-06-17 06:34:39 +02:00
69422a6f64 Update ubuntu to plucky release 2025-06-17 03:57:58 +02:00
93dae69781 Add rhel10 support 2025-06-17 03:13:30 +02:00
f17bdfa528 Add ncurses-term package to ubuntu for more legacy terminal descriptors 2025-05-30 09:48:55 +02:00
e036761c9a Add ncurses-term package for legacy ssh client (terminal descriptors) 2025-05-30 09:14:21 +02:00
da7f22edbe Add vm_dns_search to hostname if set 2025-05-26 14:37:28 +02:00
bafab61a37 Improve SSH CIS hardening 2025-05-04 01:41:00 +02:00
9ba38c9d74 Fix Typo 2025-04-29 20:30:02 +02:00
9f4f147b1c Improve Arch packages + Disable swap before unmounting 2025-04-29 20:28:55 +02:00
b5adfb271f Document vmware_ssh variable 2025-03-25 13:13:06 +01:00
1eaa192eaa Fix vm creation when no rhel_iso for vmware 2025-02-20 16:00:39 +01:00
e1556caccd Increase max home size to 20GB 2025-02-18 21:39:58 +01:00
cb2f7b3e93 Add guest_id since its necessary 2025-02-17 21:38:56 +01:00
b23eb9db28 Implement VMware annotation 2025-02-17 21:17:18 +01:00
cc8f5c6675 Improve Partition calculation algorithm 2025-02-17 20:43:45 +01:00
8001fe2874 Add DNS Search option 2025-02-10 15:16:15 +01:00
4c4a075560 Update README regarding SELinux 2025-02-07 20:50:20 +01:00
8882160fc4 dont fail if selinux is undefined 2025-02-07 20:47:30 +01:00
cfcf1d6107 Remove motd files for rhel 2025-02-05 17:14:17 +01:00
52af252662 Enable option to disable selinux for all osses 2025-02-05 01:41:10 +01:00
4ac6cf540e Include Standard package group for RHEL systems 2025-02-05 00:02:37 +01:00
f4ca2ca34f Make sure Volumes are safely unmounted before reboot 2025-01-22 12:34:00 +01:00
893f5995ab Fix CIS applienc for RHEL8 2025-01-21 22:34:01 +01:00
96929a260c Update package name to match correctly 2025-01-21 22:02:43 +01:00
c802d9b30e Make sure the VM truly starts 2025-01-21 21:35:47 +01: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
229395211c Add banner 2025-01-21 20:16:05 +01:00
c84ddd70db Add ssh key survey 2025-01-21 20:00:18 +01:00
97f91f5d11 Add missing variable 2025-01-21 19:58:07 +01:00
febd87919f CIS Adjustments 2025-01-21 19:55:36 +01:00
bf818304ef Fix variable distribution 2025-01-21 17:43:18 +01:00
758213e1ec Make Network Assignment more reliable 2025-01-21 16:59:56 +01:00
5e8d9ff29c Add nms default 2025-01-17 00:50:26 +01:00
e13db88768 Remove nms from ip since already addition already done internaly 2025-01-17 00:45:42 +01:00
39fdefc324 Do not reboot localhost! 2025-01-17 00:38:35 +01:00
b5ea94bdf3 Don't fail proxmox install if rhel_iso is not defined 2025-01-17 00:07:58 +01:00
f7f88226a9 use 24 netmask as default if not set 2025-01-17 00:03:38 +01:00
48949cc9e3 Add extra utils 2025-01-14 21:14:40 +01:00
bfa1be86d1 Set correct IP NetworkMask if defined 2025-01-14 16:08:10 +01:00
fe5c182f76 Fix typo 2025-01-14 15:03:06 +01:00
6328d40d70 Dont fail if vmware_ssh is not defined 2025-01-14 14:58:58 +01:00
83fff50d89 Add dig via bind-utils for rhel 2024-12-03 16:42:47 +01:00
dd6aff8aa1 RHEL add python package 2024-12-03 13:31:31 +01:00
530d224fd0 Do not hardcode macaddress which makes vm cloning harder 2024-12-02 18:08:48 +01:00
c81a7f1e96 Use RHEL nameing for yum repo file 2024-11-12 14:14:09 +01:00
a03f00f28b Fix DNS issue 2024-11-11 17:44:52 +01:00
f7c6c9198f Adjust never libvirt loaders 2024-11-11 17:26:37 +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
bd3f3b0478 Improve the root lv size calculations, still not perfect on bigger disk 2024-10-31 20:07:40 +01:00
a6da314d3b Preper Shutdown so VMware does not corrupt the installation 2024-10-31 18:27:31 +01:00
70bd67f7c4 improve logical volume size calculation 2024-10-31 17:32:27 +01:00
0f729b4e8a remove zram from debian11 since no support 2024-10-31 16:00:44 +01:00
99499a2f45 remove zram for rhel8 since no support 2024-10-31 15:56:42 +01:00
fe08896ed4 dont use sudo for umount 2024-10-31 15:35:22 +01:00
1d3c305688 Add umount for non RHEL systems 2024-10-31 14:23:55 +01:00
26cfbb9ce3 Fix ubuntu install issue 2024-10-31 05:56:20 +01:00
e5d4886246 Add SWAP support 2024-10-31 05:46:33 +01:00
658287c159 Add zram-generator config 2024-10-31 02:18:55 +01:00
b5f46bc812 add zram-generator package 2024-10-31 02:10:21 +01:00
64abe4daa5 Add swap optimalisations 2024-10-31 02:05:11 +01:00
ed0be16f61 Make root LV size dynamic based on VM disk size 2024-10-31 01:29:48 +01:00
d47296a918 improve VMware cleanup 2024-10-31 01:12:51 +01:00
842a68ab36 Fix riski shell pipe 2024-10-31 00:43:49 +01:00
da8480a0c9 Remove Cloud-init package which can cause issues with NetworkManager on 2024-10-31 00:41:38 +01:00

Diff Content Not Available