mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 01:44:03 -07:00
Misc typo fixes (#49816)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
7609a8cdd6
commit
013c42b14f
24 changed files with 37 additions and 37 deletions
|
@ -35,7 +35,7 @@ options:
|
|||
- It can be a virtual machine, OS disk blob URI, managed OS disk, or OS snapshot.
|
||||
- Each type of source except for blob URI can be given as resource id, name or a dict contains C(resource_group), C(name) and C(types).
|
||||
- If source type is blob URI, the source should be the full URI of the blob in string type.
|
||||
- If you specify the C(type) in a dict, acceptable value constains C(disks), C(virtual_machines) and C(snapshots).
|
||||
- If you specify the C(type) in a dict, acceptable value contains C(disks), C(virtual_machines) and C(snapshots).
|
||||
type: raw
|
||||
required: true
|
||||
data_disk_sources:
|
||||
|
@ -237,7 +237,7 @@ class AzureRMImage(AzureRMModuleBase):
|
|||
elif isinstance(source, str):
|
||||
tokenize = parse_resource_id(source)
|
||||
else:
|
||||
self.fail("source parameter sould be in type string or dictionary")
|
||||
self.fail("source parameter should be in type string or dictionary")
|
||||
if tokenize.get('type') == 'disks':
|
||||
disk = format_resource_id(tokenize['name'],
|
||||
tokenize.get('subscription_id') or self.subscription_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue