vmware_deploy_ovf fails with urlopen error timed out

Trying to use the vmware_deploy_ovf Ansible module of a Cisco CUC appliance (very simple: 1 nic, 1 disk, no properties/DeploymentOption to pick from). I can deploy with VMware’s web interface no problems.

  • hosts: localhost
    gather_facts: no

tasks:

  • name: Deploy OVA
    vmware_deploy_ovf:
    allow_duplicates: false
    validate_certs: no
    name: ‘{{ guesthostname }}’
    hostname: ‘{{ vcenter_hostname }}’
    port: 8443
    username: ‘{{ vcenter_username }}’
    password: ‘{{ vcenter_password }}’
    datacenter: ‘{{ datacenter_name }}’
    datastore: ‘{{ datastore }}’
    cluster: MT-ESXi-6.0
    networks: {“eth0”: “REDACTED”}
    power_on: yes
    ova: ‘/REDACTED/{{ ova }}’
    disk_provisioning: thin
    delegate_to: localhost

The full traceback is:
File “/tmp/ansible_vmware_deploy_ovf_payload_obl35b9n/ansible_vmware_deploy_ovf_payload.zip/ansible/modules/cloud/vmware/vmware_deploy_ovf.py”, line 293, in run
File “/tmp/ansible_vmware_deploy_ovf_payload_obl35b9n/ansible_vmware_deploy_ovf_payload.zip/ansible/modules/cloud/vmware/vmware_deploy_ovf.py”, line 287, in _open_url
File “/tmp/ansible_vmware_deploy_ovf_payload_obl35b9n/ansible_vmware_deploy_ovf_payload.zip/ansible/module_utils/urls.py”, line 1390, in open_url
unredirected_headers=unredirected_headers)
File “/tmp/ansible_vmware_deploy_ovf_payload_obl35b9n/ansible_vmware_deploy_ovf_payload.zip/ansible/module_utils/urls.py”, line 1294, in open
r = urllib_request.urlopen(*urlopen_args)
File “/usr/lib64/python3.6/urllib/request.py”, line 223, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib64/python3.6/urllib/request.py”, line 526, in open
response = self._open(req, data)
File “/usr/lib64/python3.6/urllib/request.py”, line 544, in _open
‘_open’, req)
File “/usr/lib64/python3.6/urllib/request.py”, line 504, in _call_chain
result = func(*args)
File “/tmp/ansible_vmware_deploy_ovf_payload_obl35b9n/ansible_vmware_deploy_ovf_payload.zip/ansible/module_utils/urls.py”, line 467, in https_open
return self.do_open(self._build_https_connection, req)
File “/usr/lib64/python3.6/urllib/request.py”, line 1320, in do_open
raise URLError(err)
fatal: [localhost → localhost]: FAILED! => {
“changed”: false,
“invocation”: {
“module_args”: {
“allow_duplicates”: false,
“cluster”: “MT-ESXi-6.0”,
“datacenter”: “UCV”,
“datastore”: “REDACTED”,
“deployment_option”: null,
“disk_provisioning”: “thin”,
“fail_on_spec_warnings”: false,
“folder”: null,
“hostname”: “127.0.0.1”,
“inject_ovf_env”: false,
“name”: “REDACTED”,
“networks”: {
“eth0”: “REDACTED”
},
“ova”: “/REDACTED/CUC_11.5_200_user_v1.2.ova”,
“ovf”: “/REDACTED/CUC_11.5_200_user_v1.2.ova”,
“password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”,
“port”: 8443,
“power_on”: true,
“properties”: {
“DeploymentOption.value”: “CUCM_2500”
},
“proxy_host”: null,
“proxy_port”: null,
“resource_pool”: “Resources”,
“username”: “REDACTED”,
“validate_certs”: false,
“wait”: true,
“wait_for_ip_address”: false
}
},
“msg”: “”
}

PLAY RECAP **********************************************************************************************************************************************
localhost

I can create folders and networks with Ansible, just cant deploy an OVA. any ideas?