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(
|
AZURE_TAG_ARGS = dict(
|
||||||
tags=dict(type='dict'),
|
tags=dict(type='dict'),
|
||||||
purge_tags=dict(type='bool', default=False),
|
append_tags=dict(type='bool', default=True),
|
||||||
)
|
)
|
||||||
|
|
||||||
AZURE_COMMON_REQUIRED_IF = [
|
AZURE_COMMON_REQUIRED_IF = [
|
||||||
|
@ -275,7 +275,7 @@ class AzureRMModuleBase(object):
|
||||||
if updated:
|
if updated:
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
if self.module.params['purge_tags']:
|
if not self.module.params['append_tags']:
|
||||||
purged, new_tags = self._tag_purge(new_tags)
|
purged, new_tags = self._tag_purge(new_tags)
|
||||||
if purged:
|
if purged:
|
||||||
changed = True
|
changed = True
|
||||||
|
|
Loading…
Reference in a new issue