mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix typo (#38131)
This commit is contained in:
parent
126a41327c
commit
1c00a14c31
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class AzureRMImage(AzureRMModuleBase):
|
|||
if vm:
|
||||
if self.data_disk_sources:
|
||||
self.fail('data_disk_sources is not allowed when capturing image from vm')
|
||||
image_instance = self.compute_models.Image(self.location, source_virtual_machine=self.compute_models.SubResource(vm.id))
|
||||
image_instance = self.compute_models.Image(self.location, source_virtual_machine=self.compute_models.SubResource(vm.id), tags=self.tags)
|
||||
else:
|
||||
if not self.os_type:
|
||||
self.fail('os_type is required to create the image')
|
||||
|
|
Loading…
Reference in a new issue