1
0
Fork 0
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:
Sloane Hertel 2017-03-30 14:53:42 -04:00 committed by Ryan Brown
parent 22fe148ca5
commit dab0e75ce0

View file

@ -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: