Commit Graph
100 Commits
Author SHA1 Message Date
sandwich e9647571fc 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 c32769d831 Add banner 2025-01-21 20:16:05 +01:00
sandwich 7cfa4aee8d Add ssh key survey 2025-01-21 20:00:18 +01:00
sandwich a7e7f49d84 Add missing variable 2025-01-21 19:58:07 +01:00
sandwich cfcccbf512 CIS Adjustments 2025-01-21 19:55:36 +01:00
sandwich 75c4ba6b4c Fix variable distribution 2025-01-21 17:43:18 +01:00
sandwich b62066d675 Make Network Assignment more reliable 2025-01-21 16:59:56 +01:00
sandwich 53a2c27984 Add nms default 2025-01-17 00:50:26 +01:00
sandwich bb82ff120b Remove nms from ip since already addition already done internaly 2025-01-17 00:45:42 +01:00
sandwich 221d77b94d Do not reboot localhost! 2025-01-17 00:38:35 +01:00
sandwich d71ea511f9 Don't fail proxmox install if rhel_iso is not defined 2025-01-17 00:07:58 +01:00
sandwich b3299781dc use 24 netmask as default if not set 2025-01-17 00:03:38 +01:00
sandwich 5e7a06b7db Add extra utils 2025-01-14 21:14:40 +01:00
sandwich d77f65ce05 Set correct IP NetworkMask if defined 2025-01-14 16:08:10 +01:00
sandwich 39fc15d7d8 Fix typo 2025-01-14 15:03:06 +01:00
sandwich b076968404 Dont fail if vmware_ssh is not defined 2025-01-14 14:58:58 +01:00
sandwich 4f03ccbfcf Add dig via bind-utils for rhel 2024-12-03 16:42:47 +01:00
sandwich 5746be4561 RHEL add python package 2024-12-03 13:31:31 +01:00
sandwich 39cc49a05b Do not hardcode macaddress which makes vm cloning harder 2024-12-02 18:08:48 +01:00
sandwich 2d63ca9c5a Use RHEL nameing for yum repo file 2024-11-12 14:14:09 +01:00
sandwich 9f56328890 Fix DNS issue 2024-11-11 17:44:52 +01:00
sandwich dc763bdc42 Adjust never libvirt loaders 2024-11-11 17:26:37 +01:00
sandwich 25deaab87d Add some extra packages and vi mode for bash 2024-11-05 03:36:15 +01:00
sandwich 89f054e8fd Add final check if the VM is up and running after reboot 2024-11-01 23:58:52 +01:00
sandwich cbe238f4d5 Improve the root lv size calculations, still not perfect on bigger disk
and ram sizes
2024-10-31 20:07:40 +01:00
sandwich c6f1686db8 Preper Shutdown so VMware does not corrupt the installation 2024-10-31 18:27:31 +01:00
sandwich c9a15dfccf improve logical volume size calculation 2024-10-31 17:32:27 +01:00
sandwich f83a9ebd67 remove zram from debian11 since no support 2024-10-31 16:00:44 +01:00
sandwich e16868a78d remove zram for rhel8 since no support 2024-10-31 15:56:42 +01:00
sandwich 406db38296 dont use sudo for umount 2024-10-31 15:35:22 +01:00
sandwich cb3f36a040 Add umount for non RHEL systems 2024-10-31 14:23:55 +01:00
sandwich d97f0cfff8 Fix ubuntu install issue 2024-10-31 05:56:20 +01:00
sandwich e8f609dd03 Add SWAP support 2024-10-31 05:46:33 +01:00
sandwich a599e26a63 Add zram-generator config 2024-10-31 02:18:55 +01:00
sandwich 3085ebc336 add zram-generator package 2024-10-31 02:10:21 +01:00
sandwich f967ea1c3b Add swap optimalisations 2024-10-31 02:05:11 +01:00
sandwich 2c4995ede8 Make root LV size dynamic based on VM disk size 2024-10-31 01:29:48 +01:00
sandwich ccf3193c92 improve VMware cleanup 2024-10-31 01:12:51 +01:00
sandwich d92944c345 Fix riski shell pipe 2024-10-31 00:43:49 +01:00
sandwich 3c94a33ae7 Remove Cloud-init package which can cause issues with NetworkManager on
bootup
2024-10-31 00:41:38 +01:00
sandwich af82baf1d8 Include MAC-Address into the NetworkManager keyfile 2024-10-31 00:13:23 +01:00
sandwich ec55701f00 umount disks before reboot 2024-10-30 23:48:36 +01:00
sandwich 2a1a47ecc1 Remove VMWare static since not applicable 2024-10-30 23:18:27 +01:00
sandwich 4808ce4401 Fix DISK removal at cleanup 2024-10-30 23:10:53 +01:00
sandwich db1fd13623 Fix variable hierarchy 2024-10-30 22:19:00 +01:00
sandwich e5660b0ba7 Fix ISO mounting for VMware Hypervisor 2024-10-30 20:25:41 +01:00
sandwich 173ecd299b Different aproche for ISO mounting 2024-10-30 19:30:12 +01:00
sandwich 4d242ad987 Adjust controllerID for RHEL ISO for correct mounting 2024-10-30 19:23:01 +01:00
sandwich f8ac22cfab Allow passwordless ssh for VMware Setup 2024-10-30 19:12:36 +01:00
sandwich 12a7549aaa Speed up setup on VMware if ssh is available 2024-10-30 18:59:32 +01:00
sandwich 6705411b2d Enable root ssh login 2024-10-30 18:54:15 +01:00
sandwich fe2b216fc7 set cis default value 2024-10-30 18:14:29 +01:00
sandwich 26824ca6bb Improve Ip set on VMware hypervisors 2024-10-30 18:04:46 +01:00
sandwich c60fcca86d Fix VM Connection if hypervisor is VMware 2024-10-30 17:57:22 +01:00
sandwich cdd8062937 Fix recursion 2024-10-30 17:09:22 +01:00
sandwich ebedff1c4e fix jinja syntax 2024-10-30 17:05:50 +01:00
sandwich 04d05a4e8b Move hypervisor and disk variable from main playbook 2024-10-30 16:58:22 +01:00
sandwich ee6e06a3fe lower connection timeout 2024-10-30 16:48:23 +01:00
sandwich 527bc11d1d Change VMware boot order to boot correctly from ArchISO 2024-10-30 15:59:16 +01:00
sandwich d331e07536 Fix VMware Network if no VLAN specified 2024-10-30 15:48:22 +01:00
sandwich 287036bcb4 use the correct NetworkMask variable name 2024-10-30 14:38:25 +01:00
sandwich ca5a3c8807 Add network mask variables for Hypervisor static IP assigments 2024-10-30 14:33:38 +01:00
sandwich c8dd89681b move vm_ip back since it is not a permanent/static variable 2024-10-30 14:10:37 +01:00
sandwich 9d4af56976 Move some persstent Vars to main playbook 2024-10-30 14:01:07 +01:00
sandwich 3c55eaf4a1 Recommend Ansible Vault for variables storing secrets 2024-10-30 13:45:19 +01:00
sandwich d905dce89e Add missing RHEL variable examples 2024-10-30 00:49:37 +01:00
sandwich 76f1382e3e Assertion for minimum filesystem size 2024-10-30 00:44:19 +01:00
sandwich 04c27cd7d0 remove deperacted parameter causing sshd startup fails 2024-10-30 00:32:08 +01:00
sandwich 147430b36e Add RHEL8 and RHEL9 support 2024-10-30 00:29:46 +01:00
sandwich f8ba5c41db Update Ubuntu to Oracular Oriole and Ubuntu-LTS to Noble Numbat 2024-10-29 15:08:43 +01:00
sandwich 7a4fc24f32 Remove SSH Config multiline since OpenSSH does not support it 2024-10-29 14:25:53 +01:00
sandwich 7bf7c29291 Update Fedora to Version 41 2024-10-29 14:17:01 +01:00
sandwich ccfce65673 Disable Cloud-init updates on boot to prevent loopdevice out of storage 2024-10-29 12:59:50 +01:00
sandwich 528f2fc775 Use command module instead of shell if possible 2024-10-28 21:15:10 +01:00
sandwich 505110f580 Fix command module formating 2024-10-28 21:07:33 +01:00
sandwich 1d1b2fff42 Fix connection DNS resolving inside chroot 2024-10-28 20:26:15 +01:00
sandwich 4cf4816be0 ensure variable is not empty 2024-10-28 19:25:49 +01:00
sandwich e37b5a535b Specify changed_when for shell commands 2024-10-28 19:20:05 +01:00
sandwich 5312ec8cc6 Replace ignore_errors with failed_when 2024-10-28 18:56:00 +01:00
sandwich a3b772c543 fix risky-shell-pipe 2024-10-28 18:47:31 +01:00
sandwich adde811f47 Fix risky-file-permissions because of unpecified mode 2024-10-28 18:37:44 +01:00
sandwich f788767839 Fix line-length 2024-10-28 18:26:54 +01:00
sandwich 8b773d2304 Adjust literal-compare to use correct bool comparison 2024-10-28 17:17:24 +01:00
sandwich c988ab8f9a dont use ignore-errors 2024-07-11 22:31:13 +02:00
sandwich 8864db253b add missing task name 2024-07-11 22:22:43 +02:00
sandwich 06ca8d8787 ansible-lint fixes 2024-07-11 22:20:45 +02:00
sandwich 374b5fc7ef use correct boolean values 2024-07-11 22:09:58 +02:00
sandwich 6bfd530c90 fix jinja formating 2024-07-11 22:03:15 +02:00
sandwich b077e549db remove btrfs quota limits 2024-05-21 14:20:28 +02:00
sandwich 43ce280d11 correct README 2024-04-17 14:38:47 +02:00
sandwich a6b51b4cb4 Add supported distro to the README 2024-04-17 14:37:47 +02:00
sandwich 6dd31cc95f fix cis support for all distros 2024-04-17 14:09:32 +02:00
sandwich 4b98ec1434 add ubuntu-lts support 2024-04-17 12:17:19 +02:00
sandwich 2444c5d7af add ubuntu support 2024-04-17 10:53:09 +02:00
sandwich ec6ca49265 fix fedora boot issue 2024-04-17 06:02:32 +02:00
sandwich fe43bf6733 add essential almalinux packages 2024-04-17 05:06:45 +02:00
sandwich 31c155ce92 install dnf if {{ os }} is fedora 2024-04-17 04:47:33 +02:00
sandwich 0c75114b94 add rocky to README example 2024-04-17 04:39:29 +02:00
sandwich cd9ed65c91 Add essential rockylinux packages 2024-04-17 04:32:11 +02:00
sandwich 9986d19ed6 Add en and de langauge support for rockylinux 2024-04-17 04:19:32 +02:00