elb_target_group UnboundLocalError: local variable 'new_target_group' referenced before assignment #31378
Labels
affects_2.4
This issue/PR affects Ansible v2.4
aws
bug
This issue/PR relates to a bug.
cloud
module
This issue/PR relates to a module.
support:community
This issue/PR relates to code supported by the Ansible community.
ISSUE TYPE
COMPONENT NAME
cloud/amazon/elb_target_group
ANSIBLE VERSION
CONFIGURATION
Nothing changed
OS / ENVIRONMENT
Running from docker container with:
SUMMARY
Trying to create an ELB Target group, if the target does not exist the execution fails to me.
STEPS TO REPRODUCE
EXPECTED RESULTS
The ELB target goupt is created as expected
ACTUAL RESULTS
Ansible fails with error.
The text was updated successfully, but these errors were encountered: