From 75b0e41be66fdc5fee71b08c54d8cb07f844087b Mon Sep 17 00:00:00 2001 From: Sandwich Date: Thu, 7 Nov 2024 14:26:02 +0100 Subject: [PATCH] Remove RHEL ISO variable --- roles/virtualization/tasks/vmware.yml | 6 ------ vars_example.yml | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/roles/virtualization/tasks/vmware.yml b/roles/virtualization/tasks/vmware.yml index 60a365c..58b0706 100644 --- a/roles/virtualization/tasks/vmware.yml +++ b/roles/virtualization/tasks/vmware.yml @@ -27,12 +27,6 @@ state: present type: iso iso_path: "{{ boot_iso }}" - - controller_number: 0 - unit_number: 1 - controller_type: sata - state: present - type: iso - iso_path: "{{ rhel_iso | default(omit) }}" networks: - name: "{{ vm_nif }}" type: dhcp diff --git a/vars_example.yml b/vars_example.yml index 9a51102..9d62345 100644 --- a/vars_example.yml +++ b/vars_example.yml @@ -7,8 +7,7 @@ hypervisor_username: "root@pam" hypervisor_password: "SomePassword" hypervisor_node: "NodeName" hypervisor_storage: "local-btrfs" -boot_iso: "local-btrfs:iso/archlinux-x86_64.iso" -rhel_iso: "local-btrfs:rhel-9.4-x86_64-dvd.iso" +boot_iso: "local-btrfs:rhel-9.4-x86_64-dvd.iso" # For VMware-Tools ansible_vmware_host: "{{ hypervisor_url }}"