Skip to content

vmware_deploy_ovf: add username and password for url #2392

Open
@mbx64

Description

@mbx64
SUMMARY

The vmware_deploy_ovf module offers a possibility to load an OVA file from url. It would be helpful to be able to define url_username, url_password for HTTP basic auth and maybe also url_validate_certs to control certificate validation. Currently, it is not possible to skip cert validation or to use basic auth for OVA files on a webserver.

A possible workaround by defining username and password in the URL (e. g. https://username:[email protected]/my.ova) does not work. A regex seems to fail inside the module.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

vmware_deploy_ovf

ADDITIONAL INFORMATION

Example usage:

- community.vmware.vmware_deploy_ovf:
    hostname: '{{ vcenter_hostname }}'
    username: '{{ vcenter_username }}'
    password: '{{ vcenter_password }}'
    url: https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64.ova
    url_username: username
    url_password: password
    url_validate_certs: true
    wait_for_ip_address: true
  delegate_to: localhost

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions