mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 04:24:00 -07:00
azure_rm_common: only remove tags from new_tags if append_tags is not… (#24040)
This commit is contained in:
parent
babfe45852
commit
ff6d4e6bf4
5 changed files with 20 additions and 14 deletions
|
@ -33,9 +33,6 @@
|
|||
name: "pip{{ rpfx }}"
|
||||
allocation_method: Static
|
||||
domain_name: "{{ domain_name }}"
|
||||
tags:
|
||||
testing: testing
|
||||
delete: on-exit
|
||||
register: output
|
||||
|
||||
- assert:
|
||||
|
@ -45,8 +42,8 @@
|
|||
azure_rm_publicipaddress:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: "pip{{ rpfx }}"
|
||||
append_tags: yes
|
||||
tags:
|
||||
testing: testing
|
||||
delete: never
|
||||
foo: bar
|
||||
register: output
|
||||
|
@ -70,7 +67,7 @@
|
|||
azure_rm_publicipaddress:
|
||||
resource_group: "{{ resource_group }}"
|
||||
name: "pip{{ rpfx }}"
|
||||
tags: {}
|
||||
append_tags: no
|
||||
register: output
|
||||
|
||||
- assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue