1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Define new_target_group before. Fixes #31378 (#31379)

This commit is contained in:
Javier Cortejoso 2017-10-16 13:33:47 -05:00 committed by ansibot
parent c0fc797a06
commit 844e58aedb

View file

@ -339,6 +339,7 @@ def wait_for_status(connection, module, target_group_arn, targets, status):
def create_or_update_target_group(connection, module): def create_or_update_target_group(connection, module):
changed = False changed = False
new_target_group = False
params = dict() params = dict()
params['Name'] = module.params.get("name") params['Name'] = module.params.get("name")
params['Protocol'] = module.params.get("protocol").upper() params['Protocol'] = module.params.get("protocol").upper()