Merge pull request #2047 from tomfotherby/patch-1
Allow load_balancer_port as a Ansible variable
This commit is contained in:
commit
367b4f07a1
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ class ElbManager(object):
|
||||||
for existing_listener in self.elb.listeners:
|
for existing_listener in self.elb.listeners:
|
||||||
# Since ELB allows only one listener on each incoming port, a
|
# Since ELB allows only one listener on each incoming port, a
|
||||||
# single match on the incoming port is all we're looking for
|
# single match on the incoming port is all we're looking for
|
||||||
if existing_listener[0] == listener['load_balancer_port']:
|
if existing_listener[0] == int(listener['load_balancer_port']):
|
||||||
existing_listener_found = self._api_listener_as_tuple(existing_listener)
|
existing_listener_found = self._api_listener_as_tuple(existing_listener)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue