mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[cloud] update the local variable route_table with the latest tag changes (#23136)
This commit is contained in:
parent
22fe148ca5
commit
dab0e75ce0
1 changed files with 1 additions and 0 deletions
|
@ -590,6 +590,7 @@ def ensure_route_table_present(connection, module):
|
||||||
if not tags_valid and tags is not None:
|
if not tags_valid and tags is not None:
|
||||||
result = ensure_tags(connection, route_table.id, tags,
|
result = ensure_tags(connection, route_table.id, tags,
|
||||||
add_only=True, check_mode=module.check_mode)
|
add_only=True, check_mode=module.check_mode)
|
||||||
|
route_table.tags = result['tags']
|
||||||
changed = changed or result['changed']
|
changed = changed or result['changed']
|
||||||
|
|
||||||
if subnets:
|
if subnets:
|
||||||
|
|
Loading…
Reference in a new issue