vmware_deploy_ovf: argument ovf is of type <class 'str'> and we were unable to convert to path_exists

Solution Verified - Updated -

Issue

  • When trying to deploy a virtual machine on vmware using the vmware_deploy_ovf ansible module, the following error is shown:

    fatal: [node.example.com]: FAILED! => {"changed": false, "msg": "argument ovf is of type <class 'str'> and we were unable to convert to path_exists: /example/x/y
    

Environment

  • Red Hat Ansible (2.9)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content