Commit Graph
100 Commits
Author SHA1 Message Date
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
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
sandwich 8fef1b695b remove btrfs quota limits 2024-05-21 14:20:28 +02:00
sandwich 1130c1688a correct README 2024-04-17 14:38:47 +02:00
sandwich 3d56456ad4 Add supported distro to the README 2024-04-17 14:37:47 +02:00
sandwich 2b97049dec fix cis support for all distros 2024-04-17 14:09:32 +02:00
sandwich 82118be5f9 add ubuntu-lts support 2024-04-17 12:17:19 +02:00
sandwich 92a0f18240 add ubuntu support 2024-04-17 10:53:09 +02:00
sandwich bd8ae76703 fix fedora boot issue 2024-04-17 06:02:32 +02:00
sandwich a3d2452cd6 add essential almalinux packages 2024-04-17 05:06:45 +02:00
sandwich 8cdf32e85e install dnf if {{ os }} is fedora 2024-04-17 04:47:33 +02:00
sandwich 58e9ded653 add rocky to README example 2024-04-17 04:39:29 +02:00
sandwich 187c5feac2 Add essential rockylinux packages 2024-04-17 04:32:11 +02:00
sandwich d21351aed9 Add en and de langauge support for rockylinux 2024-04-17 04:19:32 +02:00