Commit Graph
100 Commits
Author SHA1 Message Date
sandwich e3a52b889b Add ncurses-term package to ubuntu for more legacy terminal descriptors 2025-05-30 09:48:55 +02:00
sandwich ff2e5fb6b8 Add ncurses-term package for legacy ssh client (terminal descriptors) 2025-05-30 09:14:21 +02:00
sandwich db62d360b7 Add vm_dns_search to hostname if set 2025-05-26 14:37:28 +02:00
sandwich 3d3f1caa14 Improve SSH CIS hardening 2025-05-04 01:41:00 +02:00
sandwich 200e73e3ef Fix Typo 2025-04-29 20:30:02 +02:00
sandwich f5fda74cad Improve Arch packages + Disable swap before unmounting 2025-04-29 20:28:55 +02:00
sandwich 9e4ae3ae33 Document vmware_ssh variable 2025-03-25 13:13:06 +01:00
sandwich 052c89aa3e Fix vm creation when no rhel_iso for vmware 2025-02-20 16:00:39 +01:00
sandwich 21e6edcf63 Increase max home size to 20GB 2025-02-18 21:39:58 +01:00
sandwich 4961cc4b03 Add guest_id since its necessary 2025-02-17 21:38:56 +01:00
sandwich a7497dbb0e Implement VMware annotation 2025-02-17 21:17:18 +01:00
sandwich c764c209cb Improve Partition calculation algorithm 2025-02-17 20:43:45 +01:00
sandwich 9096a8fc18 Add DNS Search option 2025-02-10 15:16:15 +01:00
sandwich 236df77406 Update README regarding SELinux 2025-02-07 20:50:20 +01:00
sandwich ba6938b225 dont fail if selinux is undefined 2025-02-07 20:47:30 +01:00
sandwich 919c2085d2 Remove motd files for rhel 2025-02-05 17:14:17 +01:00
sandwich 55e7b5e98c Enable option to disable selinux for all osses 2025-02-05 01:41:10 +01:00
sandwich ef81e6b121 Include Standard package group for RHEL systems 2025-02-05 00:02:37 +01:00
sandwich 2cf2f71b9c Make sure Volumes are safely unmounted before reboot 2025-01-22 12:34:00 +01:00
sandwich 7b972053ef Fix CIS applienc for RHEL8 2025-01-21 22:34:01 +01:00
sandwich 1afe5155ce Update package name to match correctly 2025-01-21 22:02:43 +01:00
sandwich 67065520a2 Make sure the VM truly starts 2025-01-21 21:35:47 +01:00
sandwich b3b6376d81 Do not check if VM is back on vmware with cis activated, it will fail
without the key, and key cannot be set otherwise awx refuses connection
2025-01-21 21:30:56 +01:00
sandwich 9f14556ef6 Add banner 2025-01-21 20:16:05 +01:00
sandwich 293b608c84 Add ssh key survey 2025-01-21 20:00:18 +01:00
sandwich 50a7011de7 Add missing variable 2025-01-21 19:58:07 +01:00
sandwich 8d0c948dff CIS Adjustments 2025-01-21 19:55:36 +01:00
sandwich 183ec709f6 Fix variable distribution 2025-01-21 17:43:18 +01:00
sandwich 6dd32b5a63 Make Network Assignment more reliable 2025-01-21 16:59:56 +01:00
sandwich 9fdf83aad3 Add nms default 2025-01-17 00:50:26 +01:00
sandwich 15fc6e0dd1 Remove nms from ip since already addition already done internaly 2025-01-17 00:45:42 +01:00
sandwich f866502d47 Do not reboot localhost! 2025-01-17 00:38:35 +01:00
sandwich 4291aa8c4a Don't fail proxmox install if rhel_iso is not defined 2025-01-17 00:07:58 +01:00
sandwich 6e8ac0283a use 24 netmask as default if not set 2025-01-17 00:03:38 +01:00
sandwich c650c2b50c Add extra utils 2025-01-14 21:14:40 +01:00
sandwich 2cc06e3f7d Set correct IP NetworkMask if defined 2025-01-14 16:08:10 +01:00
sandwich 8ba12fe4bf Fix typo 2025-01-14 15:03:06 +01:00
sandwich c72ccd06aa Dont fail if vmware_ssh is not defined 2025-01-14 14:58:58 +01:00
sandwich bfadc82e82 Add dig via bind-utils for rhel 2024-12-03 16:42:47 +01:00
sandwich c1b5793cab RHEL add python package 2024-12-03 13:31:31 +01:00
sandwich 72dabe3107 Do not hardcode macaddress which makes vm cloning harder 2024-12-02 18:08:48 +01:00
sandwich 0ff03d9d6f Use RHEL nameing for yum repo file 2024-11-12 14:14:09 +01:00
sandwich 247e3e6c3b Fix DNS issue 2024-11-11 17:44:52 +01:00
sandwich d864a492ee Adjust never libvirt loaders 2024-11-11 17:26:37 +01:00
sandwich 2e7e4d6423 Add some extra packages and vi mode for bash 2024-11-05 03:36:15 +01:00
sandwich 2d96b12367 Add final check if the VM is up and running after reboot 2024-11-01 23:58:52 +01:00
sandwich 9f3d638381 Improve the root lv size calculations, still not perfect on bigger disk
and ram sizes
2024-10-31 20:07:40 +01:00
sandwich 88aebd5276 Preper Shutdown so VMware does not corrupt the installation 2024-10-31 18:27:31 +01:00
sandwich 29a493bf13 improve logical volume size calculation 2024-10-31 17:32:27 +01:00
sandwich 99e0fb9e5c remove zram from debian11 since no support 2024-10-31 16:00:44 +01:00
sandwich 8618f8cf03 remove zram for rhel8 since no support 2024-10-31 15:56:42 +01:00
sandwich ccc53081f4 dont use sudo for umount 2024-10-31 15:35:22 +01:00
sandwich 46b7f56425 Add umount for non RHEL systems 2024-10-31 14:23:55 +01:00
sandwich 3994d4192d Fix ubuntu install issue 2024-10-31 05:56:20 +01:00
sandwich e22cf5cc60 Add SWAP support 2024-10-31 05:46:33 +01:00
sandwich 08a35b2b6b Add zram-generator config 2024-10-31 02:18:55 +01:00
sandwich e357c7881a add zram-generator package 2024-10-31 02:10:21 +01:00
sandwich 10d6095aad Add swap optimalisations 2024-10-31 02:05:11 +01:00
sandwich fcc2ace185 Make root LV size dynamic based on VM disk size 2024-10-31 01:29:48 +01:00
sandwich e3d61d5fdc improve VMware cleanup 2024-10-31 01:12:51 +01:00
sandwich 1af1ea8ffb Fix riski shell pipe 2024-10-31 00:43:49 +01:00
sandwich 9ebfc500a2 Remove Cloud-init package which can cause issues with NetworkManager on
bootup
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