Hi,<\/p>\n
Trying Ansible fisrt time.<\/p>\n
I have deployed OVA and normal VM with Disk and CD, they work fine.<\/p>\n
Now I’m trying to deploy Nested ESXi on a Standalone ESXi, and am trying to assign IP address to the Nested ESXi but it fails with the below error.<\/p>\n
TASK [Create a virtual machine on given ESXi hostname] ********************************\nfatal: [192.168.1.101 -> localhost]: FAILED! => {\"changed\": false, \"msg\": \"Unsupported parameters for (vmware_deploy_ovf) module: ova_hardware_networks, ova_networks, ova_properties. Supported parameters include: allow_duplicates, cluster, datacenter, datastore, deployment_option, disk_provisioning, enable_hidden_properties, esxi_hostname, fail_on_spec_warnings, folder, hostname, inject_ovf_env, name, networks, ovf, password, port, power_on, properties, proxy_host, proxy_port, resource_pool, url, username, validate_certs, wait, wait_for_ip_address (admin, ova, pass, pwd, user).\"}\n<\/code><\/pre>\nMy playbook..<\/p>\n
---\n- name: test\n hosts: 192.168.1.101\n become: true\n collections:\n - community.vmware\n vars:\n path: '/root'\n ova: 'ESXi7.0U3n.ova'\n\n tasks:\n - name: stat the ova file\n stat:\n path: '{{ path }}/{{ ova }}'\n register: file_details\n\n - debug:\n msg: \"The file or directory exists\"\n when: file_details.stat.exists\n\n - name: Create a virtual machine on given ESXi hostname\n vmware_deploy_ovf:\n hostname: '192.168.1.101'\n username: 'root'\n password: 'password'\n datacenter: 'ha-datacenter'\n datastore: TestStore\n ovf: '{{ path }}/{{ ova }}'\n name: ESXi\n ova_networks:\n \"Network 1\": 'TestNetwork1'\n ova_hardware_networks:\n - name: 'TestNetwork1'\n ova_properties:\n guestinfo.ipaddress: '192.168.1.120'\n guestinfo.netmask: '255.255.255.0'\n guestinfo.gateway: '192.168.1.1'\n guestinfo.dns.server: '192.168.1.150'\n validate_certs: no\n delegate_to: localhost\n<\/code><\/pre>\nI have checked with vmware_guest and vmware_guest_network and receive same type of error..<\/p>\n
Any thoughts..<\/p>","upvoteCount":2,"answerCount":8,"datePublished":"2025-06-29T14:20:47.336Z","author":{"@type":"Person","name":"tryllz","url":"https://community.spiceworks.com/u/tryllz"},"acceptedAnswer":{"@type":"Answer","text":"
Likely your OVA doesn’t allow for a static IP.<\/p>\n
Nested ESXi (like ESXi 7.0 or 8.0) does not automatically apply static IPs from OVF properties unless:<\/p>\n
\n- The OVA was built to support OVF environment injection.<\/li>\n
- The ESXi installer or boot process is scripted (e.g. via Kickstart).<\/li>\n<\/ol>","upvoteCount":2,"datePublished":"2025-06-29T17:12:16.012Z","url":"https://community.spiceworks.com/t/nested-esxi-deployment-with-ansible/1219400/4","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},"suggestedAnswer":[{"@type":"Answer","text":"
Hi,<\/p>\n
Trying Ansible fisrt time.<\/p>\n
I have deployed OVA and normal VM with Disk and CD, they work fine.<\/p>\n
Now I’m trying to deploy Nested ESXi on a Standalone ESXi, and am trying to assign IP address to the Nested ESXi but it fails with the below error.<\/p>\n
TASK [Create a virtual machine on given ESXi hostname] ********************************\nfatal: [192.168.1.101 -> localhost]: FAILED! => {\"changed\": false, \"msg\": \"Unsupported parameters for (vmware_deploy_ovf) module: ova_hardware_networks, ova_networks, ova_properties. Supported parameters include: allow_duplicates, cluster, datacenter, datastore, deployment_option, disk_provisioning, enable_hidden_properties, esxi_hostname, fail_on_spec_warnings, folder, hostname, inject_ovf_env, name, networks, ovf, password, port, power_on, properties, proxy_host, proxy_port, resource_pool, url, username, validate_certs, wait, wait_for_ip_address (admin, ova, pass, pwd, user).\"}\n<\/code><\/pre>\nMy playbook..<\/p>\n
---\n- name: test\n hosts: 192.168.1.101\n become: true\n collections:\n - community.vmware\n vars:\n path: '/root'\n ova: 'ESXi7.0U3n.ova'\n\n tasks:\n - name: stat the ova file\n stat:\n path: '{{ path }}/{{ ova }}'\n register: file_details\n\n - debug:\n msg: \"The file or directory exists\"\n when: file_details.stat.exists\n\n - name: Create a virtual machine on given ESXi hostname\n vmware_deploy_ovf:\n hostname: '192.168.1.101'\n username: 'root'\n password: 'password'\n datacenter: 'ha-datacenter'\n datastore: TestStore\n ovf: '{{ path }}/{{ ova }}'\n name: ESXi\n ova_networks:\n \"Network 1\": 'TestNetwork1'\n ova_hardware_networks:\n - name: 'TestNetwork1'\n ova_properties:\n guestinfo.ipaddress: '192.168.1.120'\n guestinfo.netmask: '255.255.255.0'\n guestinfo.gateway: '192.168.1.1'\n guestinfo.dns.server: '192.168.1.150'\n validate_certs: no\n delegate_to: localhost\n<\/code><\/pre>\nI have checked with vmware_guest and vmware_guest_network and receive same type of error..<\/p>\n
Any thoughts..<\/p>","upvoteCount":2,"datePublished":"2025-06-29T14:20:47.431Z","url":"https://community.spiceworks.com/t/nested-esxi-deployment-with-ansible/1219400/1","author":{"@type":"Person","name":"tryllz","url":"https://community.spiceworks.com/u/tryllz"}},{"@type":"Answer","text":"