From 1c00a14c31827c2777015d49ae70700c06907cdb Mon Sep 17 00:00:00 2001 From: Yuwei Zhou Date: Fri, 30 Mar 2018 15:46:53 +0800 Subject: [PATCH] fix typo (#38131) --- lib/ansible/modules/cloud/azure/azure_rm_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/azure/azure_rm_image.py b/lib/ansible/modules/cloud/azure/azure_rm_image.py index cf5e7841f1..80f4778217 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_image.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_image.py @@ -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')