Commit Graph
100 Commits
Author SHA1 Message Date
sandwich b23eb9db28 Implement VMware annotation 2025-02-17 21:17:18 +01:00
sandwich cc8f5c6675 Improve Partition calculation algorithm 2025-02-17 20:43:45 +01:00
sandwich 8001fe2874 Add DNS Search option 2025-02-10 15:16:15 +01:00
sandwich 4c4a075560 Update README regarding SELinux 2025-02-07 20:50:20 +01:00
sandwich 8882160fc4 dont fail if selinux is undefined 2025-02-07 20:47:30 +01:00
sandwich cfcf1d6107 Remove motd files for rhel 2025-02-05 17:14:17 +01:00
sandwich 52af252662 Enable option to disable selinux for all osses 2025-02-05 01:41:10 +01:00
sandwich 4ac6cf540e Include Standard package group for RHEL systems 2025-02-05 00:02:37 +01:00
sandwich f4ca2ca34f Make sure Volumes are safely unmounted before reboot 2025-01-22 12:34:00 +01:00
sandwich 893f5995ab Fix CIS applienc for RHEL8 2025-01-21 22:34:01 +01:00
sandwich 96929a260c Update package name to match correctly 2025-01-21 22:02:43 +01:00
sandwich c802d9b30e Make sure the VM truly starts 2025-01-21 21:35:47 +01:00
sandwich 17f2a1a93e Do not check if VM is back on vmware with cis activated, it will fail 2025-01-21 21:30:56 +01:00
sandwich 229395211c Add banner 2025-01-21 20:16:05 +01:00
sandwich c84ddd70db Add ssh key survey 2025-01-21 20:00:18 +01:00
sandwich 97f91f5d11 Add missing variable 2025-01-21 19:58:07 +01:00
sandwich febd87919f CIS Adjustments 2025-01-21 19:55:36 +01:00
sandwich bf818304ef Fix variable distribution 2025-01-21 17:43:18 +01:00
sandwich 758213e1ec Make Network Assignment more reliable 2025-01-21 16:59:56 +01:00
sandwich 5e8d9ff29c Add nms default 2025-01-17 00:50:26 +01:00
sandwich e13db88768 Remove nms from ip since already addition already done internaly 2025-01-17 00:45:42 +01:00
sandwich 39fdefc324 Do not reboot localhost! 2025-01-17 00:38:35 +01:00
sandwich b5ea94bdf3 Don't fail proxmox install if rhel_iso is not defined 2025-01-17 00:07:58 +01:00
sandwich f7f88226a9 use 24 netmask as default if not set 2025-01-17 00:03:38 +01:00
sandwich 48949cc9e3 Add extra utils 2025-01-14 21:14:40 +01:00
sandwich bfa1be86d1 Set correct IP NetworkMask if defined 2025-01-14 16:08:10 +01:00
sandwich fe5c182f76 Fix typo 2025-01-14 15:03:06 +01:00
sandwich 6328d40d70 Dont fail if vmware_ssh is not defined 2025-01-14 14:58:58 +01:00
sandwich 83fff50d89 Add dig via bind-utils for rhel 2024-12-03 16:42:47 +01:00
sandwich dd6aff8aa1 RHEL add python package 2024-12-03 13:31:31 +01:00
sandwich 530d224fd0 Do not hardcode macaddress which makes vm cloning harder 2024-12-02 18:08:48 +01:00
sandwich c81a7f1e96 Use RHEL nameing for yum repo file 2024-11-12 14:14:09 +01:00
sandwich a03f00f28b Fix DNS issue 2024-11-11 17:44:52 +01:00
sandwich f7c6c9198f Adjust never libvirt loaders 2024-11-11 17:26:37 +01:00
sandwich f5c09571c0 Add some extra packages and vi mode for bash 2024-11-05 03:36:15 +01:00
sandwich 88d77cf9a6 Add final check if the VM is up and running after reboot 2024-11-01 23:58:52 +01:00
sandwich bd3f3b0478 Improve the root lv size calculations, still not perfect on bigger disk 2024-10-31 20:07:40 +01:00
sandwich a6da314d3b Preper Shutdown so VMware does not corrupt the installation 2024-10-31 18:27:31 +01:00
sandwich 70bd67f7c4 improve logical volume size calculation 2024-10-31 17:32:27 +01:00
sandwich 0f729b4e8a remove zram from debian11 since no support 2024-10-31 16:00:44 +01:00
sandwich 99499a2f45 remove zram for rhel8 since no support 2024-10-31 15:56:42 +01:00
sandwich fe08896ed4 dont use sudo for umount 2024-10-31 15:35:22 +01:00
sandwich 1d3c305688 Add umount for non RHEL systems 2024-10-31 14:23:55 +01:00
sandwich 26cfbb9ce3 Fix ubuntu install issue 2024-10-31 05:56:20 +01:00
sandwich e5d4886246 Add SWAP support 2024-10-31 05:46:33 +01:00
sandwich 658287c159 Add zram-generator config 2024-10-31 02:18:55 +01:00
sandwich b5f46bc812 add zram-generator package 2024-10-31 02:10:21 +01:00
sandwich 64abe4daa5 Add swap optimalisations 2024-10-31 02:05:11 +01:00
sandwich ed0be16f61 Make root LV size dynamic based on VM disk size 2024-10-31 01:29:48 +01:00
sandwich d47296a918 improve VMware cleanup 2024-10-31 01:12:51 +01:00
sandwich 842a68ab36 Fix riski shell pipe 2024-10-31 00:43:49 +01:00
sandwich da8480a0c9 Remove Cloud-init package which can cause issues with NetworkManager on 2024-10-31 00:41:38 +01:00
sandwich 8a655993bd Include MAC-Address into the NetworkManager keyfile 2024-10-31 00:13:23 +01:00
sandwich ff4f9cdb07 umount disks before reboot 2024-10-30 23:48:36 +01:00
sandwich d8d4371195 Remove VMWare static since not applicable 2024-10-30 23:18:27 +01:00
sandwich fea97ba140 Fix DISK removal at cleanup 2024-10-30 23:10:53 +01:00
sandwich 72305d48a3 Fix variable hierarchy 2024-10-30 22:19:00 +01:00
sandwich 03cc238237 Fix ISO mounting for VMware Hypervisor 2024-10-30 20:25:41 +01:00
sandwich 5328d7cce3 Different aproche for ISO mounting 2024-10-30 19:30:12 +01:00
sandwich 785667c0d6 Adjust controllerID for RHEL ISO for correct mounting 2024-10-30 19:23:01 +01:00
sandwich 4cfde890f3 Allow passwordless ssh for VMware Setup 2024-10-30 19:12:36 +01:00
sandwich 5bc981ffc7 Speed up setup on VMware if ssh is available 2024-10-30 18:59:32 +01:00
sandwich 510bf0af89 Enable root ssh login 2024-10-30 18:54:15 +01:00
sandwich fa175eeb78 set cis default value 2024-10-30 18:14:29 +01:00
sandwich 42b38f0d02 Improve Ip set on VMware hypervisors 2024-10-30 18:04:46 +01:00
sandwich 98bdb9b824 Fix VM Connection if hypervisor is VMware 2024-10-30 17:57:22 +01:00
sandwich d499e222bb Fix recursion 2024-10-30 17:09:22 +01:00
sandwich 1201fe8f4b fix jinja syntax 2024-10-30 17:05:50 +01:00
sandwich 5742a9fd78 Move hypervisor and disk variable from main playbook 2024-10-30 16:58:22 +01:00
sandwich 0c82d4da87 lower connection timeout 2024-10-30 16:48:23 +01:00
sandwich 5930ef0759 Change VMware boot order to boot correctly from ArchISO 2024-10-30 15:59:16 +01:00
sandwich 6e60a6e4b4 Fix VMware Network if no VLAN specified 2024-10-30 15:48:22 +01:00
sandwich 0a3363f725 use the correct NetworkMask variable name 2024-10-30 14:38:25 +01:00
sandwich 367a77945e Add network mask variables for Hypervisor static IP assigments 2024-10-30 14:33:38 +01:00
sandwich b6ab48d062 move vm_ip back since it is not a permanent/static variable 2024-10-30 14:10:37 +01:00
sandwich 8cc54806c1 Move some persstent Vars to main playbook 2024-10-30 14:01:07 +01:00
sandwich bcbddf0955 Recommend Ansible Vault for variables storing secrets 2024-10-30 13:45:19 +01:00
sandwich 111cb79f2f Add missing RHEL variable examples 2024-10-30 00:49:37 +01:00
sandwich c437e4c43d Assertion for minimum filesystem size 2024-10-30 00:44:19 +01:00
sandwich d164b6a573 remove deperacted parameter causing sshd startup fails 2024-10-30 00:32:08 +01:00
sandwich 1e625fd138 Add RHEL8 and RHEL9 support 2024-10-30 00:29:46 +01:00
sandwich 051b7a376f Update Ubuntu to Oracular Oriole and Ubuntu-LTS to Noble Numbat 2024-10-29 15:08:43 +01:00
sandwich 77b5920ddb Remove SSH Config multiline since OpenSSH does not support it 2024-10-29 14:25:53 +01:00
sandwich 61fdf1461a Update Fedora to Version 41 2024-10-29 14:17:01 +01:00
sandwich 6c311159d8 Disable Cloud-init updates on boot to prevent loopdevice out of storage 2024-10-29 12:59:50 +01:00
sandwich 7e6d8e73b4 Use command module instead of shell if possible 2024-10-28 21:15:10 +01:00
sandwich 7374b0a4e2 Fix command module formating 2024-10-28 21:07:33 +01:00
sandwich ab694ef49c Fix connection DNS resolving inside chroot 2024-10-28 20:26:15 +01:00
sandwich 48cedc8efc ensure variable is not empty 2024-10-28 19:25:49 +01:00
sandwich ca5caba602 Specify changed_when for shell commands 2024-10-28 19:20:05 +01:00
sandwich 9ad4e96806 Replace ignore_errors with failed_when 2024-10-28 18:56:00 +01:00
sandwich 6e2f081794 fix risky-shell-pipe 2024-10-28 18:47:31 +01:00
sandwich 8ac881ada1 Fix risky-file-permissions because of unpecified mode 2024-10-28 18:37:44 +01:00
sandwich 446736da3b Fix line-length 2024-10-28 18:26:54 +01:00
sandwich 15706c5d84 Adjust literal-compare to use correct bool comparison 2024-10-28 17:17:24 +01:00
sandwich 2cba40508b dont use ignore-errors 2024-07-11 22:31:13 +02:00
sandwich d8f39e855c add missing task name 2024-07-11 22:22:43 +02:00
sandwich 86656f6dbb ansible-lint fixes 2024-07-11 22:20:45 +02:00
sandwich 3af9ccddf2 use correct boolean values 2024-07-11 22:09:58 +02:00
sandwich b2fa0ab91d fix jinja formating 2024-07-11 22:03:15 +02:00