mirror of https://github.com/ansible/ansible.git
azure_rm_virtualmachine: Fix VHD URI valid schemes in extract_names_from_blob_uri (#64507)
When a VM has been provisioned with unmanaged disks (VHD), the URI schemes used for those disks are kept untouched. Unfortunately, the regexp that parses the URI only accepts 'https' leading the module to fail if one uses for instance 'http'. Please note that the official Azure API documentation uses 'http' and not 'https' as URI scheme. Resolves #64506 Testing Done: Using an ARM template, provision a VM with one OS and one data disk with 'http' as VHD URI scheme. Then use the azure_rm_virtualmachine module to delete the VM. Finally check that the module does not fail anymore and that the unmanaged disks are correctly deleted from the storage account.pull/65317/head
parent
7c65ad11e2
commit
8df03a6f6e
Loading…
Reference in New Issue