refactor(vars): remove legacy variable inputs
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
configuration_fstab_dvd_line: >-
|
||||
{{
|
||||
'/usr/local/install/redhat/rhel.iso /usr/local/install/redhat/dvd iso9660 loop,nofail 0 0'
|
||||
if hypervisor == 'vmware'
|
||||
if hypervisor_type == 'vmware'
|
||||
else '/dev/sr0 /usr/local/install/redhat/dvd iso9660 ro,relatime,nojoliet,check=s,map=n,nofail 0 0'
|
||||
}}
|
||||
ansible.builtin.lineinfile:
|
||||
@@ -39,7 +39,7 @@
|
||||
state: present
|
||||
|
||||
- name: Write image from RHEL ISO to the target machine
|
||||
when: os == "rhel" and hypervisor == 'vmware'
|
||||
when: os == "rhel" and hypervisor_type == 'vmware'
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- dd
|
||||
|
||||
Reference in New Issue
Block a user