fixing vmss failure (#56625)

* triggering test

* deleting autocreated as last one

* fixed mistake
This commit is contained in:
Zim Kalinowski 2019-06-19 17:00:43 +08:00 committed by ansibot
parent ec95086b69
commit ee32222ae7
2 changed files with 4 additions and 1 deletions

View file

@ -1795,6 +1795,9 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
for pip_dict in pip_names:
self.delete_pip(pip_dict['resource_group'], pip_dict['name'])
if 'all' in self.remove_on_absent or 'all_autocreated' in self.remove_on_absent:
self.remove_autocreated_resources(vm.tags)
return True
def get_network_interface(self, resource_group, name):

View file

@ -210,7 +210,7 @@ options:
version_added: "2.8"
zones:
description:
- A list of Availability Zones for your virtual machine scale set
- A list of Availability Zones for your virtual machine scale set.
type: list
version_added: "2.8"
custom_data: