mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ran dos2unix and renamed tags cannonical option
This commit is contained in:
parent
54440a30c0
commit
0652fa0ce6
1 changed files with 632 additions and 632 deletions
|
@ -51,7 +51,7 @@ AZURE_CREDENTIAL_ENV_MAPPING = dict(
|
|||
|
||||
AZURE_TAG_ARGS = dict(
|
||||
tags=dict(type='dict'),
|
||||
purge_tags=dict(type='bool', default=False),
|
||||
append_tags=dict(type='bool', default=True),
|
||||
)
|
||||
|
||||
AZURE_COMMON_REQUIRED_IF = [
|
||||
|
@ -275,7 +275,7 @@ class AzureRMModuleBase(object):
|
|||
if updated:
|
||||
changed = True
|
||||
|
||||
if self.module.params['purge_tags']:
|
||||
if not self.module.params['append_tags']:
|
||||
purged, new_tags = self._tag_purge(new_tags)
|
||||
if purged:
|
||||
changed = True
|
||||
|
|
Loading…
Reference in a new issue