mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
cloudstack: change order of tags handling, fixes update of tag value does not work
This commit is contained in:
parent
3410a855b0
commit
1d59caed07
1 changed files with 1 additions and 1 deletions
|
@ -371,8 +371,8 @@ class AnsibleCloudStack(object):
|
|||
if 'tags' in resource:
|
||||
tags = self.module.params.get('tags')
|
||||
if tags is not None:
|
||||
self._process_tags(resource, resource_type, self._tags_that_should_exist_or_be_updated(resource, tags))
|
||||
self._process_tags(resource, resource_type, self._tags_that_should_not_exist(resource, tags), operation="delete")
|
||||
self._process_tags(resource, resource_type, self._tags_that_should_exist_or_be_updated(resource, tags))
|
||||
self.tags = None
|
||||
resource['tags'] = self.get_tags(resource)
|
||||
return resource
|
||||
|
|
Loading…
Reference in a new issue