mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
azure_rm_subnet: fix CI error for deleting the azure_tags (#55276)
This commit is contained in:
parent
32345641e7
commit
91e808eed2
2 changed files with 2 additions and 13 deletions
|
@ -218,7 +218,8 @@ class AzureRMSubnet(AzureRMModuleBase):
|
||||||
self.service_endpoints = None
|
self.service_endpoints = None
|
||||||
|
|
||||||
super(AzureRMSubnet, self).__init__(self.module_arg_spec,
|
super(AzureRMSubnet, self).__init__(self.module_arg_spec,
|
||||||
supports_check_mode=True)
|
supports_check_mode=True,
|
||||||
|
supports_tags=False)
|
||||||
|
|
||||||
def exec_module(self, **kwargs):
|
def exec_module(self, **kwargs):
|
||||||
|
|
||||||
|
|
|
@ -77,9 +77,6 @@
|
||||||
locations:
|
locations:
|
||||||
- eastus
|
- eastus
|
||||||
- westus
|
- westus
|
||||||
tags:
|
|
||||||
testing: testing
|
|
||||||
delete: on-fini
|
|
||||||
|
|
||||||
- name: Should be idempotent
|
- name: Should be idempotent
|
||||||
azure_rm_subnet:
|
azure_rm_subnet:
|
||||||
|
@ -92,9 +89,6 @@
|
||||||
locations:
|
locations:
|
||||||
- eastus
|
- eastus
|
||||||
- westus
|
- westus
|
||||||
tags:
|
|
||||||
testing: testing
|
|
||||||
delete: on-fini
|
|
||||||
register: output
|
register: output
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
@ -116,9 +110,6 @@
|
||||||
security_group:
|
security_group:
|
||||||
name: secgroupfoo
|
name: secgroupfoo
|
||||||
resource_group: "{{ resource_group_secondary }}"
|
resource_group: "{{ resource_group_secondary }}"
|
||||||
tags:
|
|
||||||
testing: testing
|
|
||||||
delete: on-fini
|
|
||||||
register: output
|
register: output
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
@ -133,9 +124,6 @@
|
||||||
resource_group: "{{ resource_group }}"
|
resource_group: "{{ resource_group }}"
|
||||||
address_prefix_cidr: "10.1.0.0/16"
|
address_prefix_cidr: "10.1.0.0/16"
|
||||||
security_group: "{{ nsg.state.id }}"
|
security_group: "{{ nsg.state.id }}"
|
||||||
tags:
|
|
||||||
testing: testing
|
|
||||||
delete: on-fini
|
|
||||||
register: output
|
register: output
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
|
Loading…
Reference in a new issue