fixing vmss failure (#56625)
* triggering test * deleting autocreated as last one * fixed mistake
This commit is contained in:
parent
ec95086b69
commit
ee32222ae7
2 changed files with 4 additions and 1 deletions
|
@ -1795,6 +1795,9 @@ class AzureRMVirtualMachine(AzureRMModuleBase):
|
||||||
for pip_dict in pip_names:
|
for pip_dict in pip_names:
|
||||||
self.delete_pip(pip_dict['resource_group'], pip_dict['name'])
|
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
|
return True
|
||||||
|
|
||||||
def get_network_interface(self, resource_group, name):
|
def get_network_interface(self, resource_group, name):
|
||||||
|
|
|
@ -210,7 +210,7 @@ options:
|
||||||
version_added: "2.8"
|
version_added: "2.8"
|
||||||
zones:
|
zones:
|
||||||
description:
|
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
|
type: list
|
||||||
version_added: "2.8"
|
version_added: "2.8"
|
||||||
custom_data:
|
custom_data:
|
||||||
|
|
Loading…
Add table
Reference in a new issue