summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan S. Brown <sb@ryansb.com>2016-11-10 10:45:47 -0500
committerRyan S. Brown <sb@ryansb.com>2016-11-10 10:45:47 -0500
commit4f83b809dcc51c554f55a06e2930fd76377c6bda (patch)
tree2c25576edefef4ab24e0f74f30ccbe77b33d8711
parent8cbb0dc13e3310b2ac3addda0419bd0d111a5b27 (diff)
downloadansible-modules-core-4f83b809dcc51c554f55a06e2930fd76377c6bda.tar.gz
Fix doc examples for `ec2_elb_lb` module
The examples had the listeners as a list item for each param, when they really need to be their own objects.
-rw-r--r--cloud/amazon/ec2_elb_lb.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/cloud/amazon/ec2_elb_lb.py b/cloud/amazon/ec2_elb_lb.py
index ec2bcd73..066719b8 100644
--- a/cloud/amazon/ec2_elb_lb.py
+++ b/cloud/amazon/ec2_elb_lb.py
@@ -313,8 +313,8 @@ EXAMPLES = """
- us-east-1d
listeners:
- protocol: http
- - load_balancer_port: 80
- - instance_port: 80
+ load_balancer_port: 80
+ instance_port: 80
# Create an ELB with load balancer stickiness enabled
- local_action:
@@ -327,8 +327,8 @@ EXAMPLES = """
- us-east-1d
listeners:
- protocol: http
- - load_balancer_port: 80
- - instance_port: 80
+ load_balancer_port: 80
+ instance_port: 80
stickiness:
type: loadbalancer
enabled: yes
@@ -345,8 +345,8 @@ EXAMPLES = """
- us-east-1d
listeners:
- protocol: http
- - load_balancer_port: 80
- - instance_port: 80
+ load_balancer_port: 80
+ instance_port: 80
stickiness:
type: application
enabled: yes
@@ -363,8 +363,8 @@ EXAMPLES = """
- us-east-1d
listeners:
- protocol: http
- - load_balancer_port: 80
- - instance_port: 80
+ load_balancer_port: 80
+ instance_port: 80
tags:
Name: "New ELB"
stack: "production"
@@ -381,8 +381,8 @@ EXAMPLES = """
- us-east-1d
listeners:
- protocol: http
- - load_balancer_port: 80
- - instance_port: 80
+ load_balancer_port: 80
+ instance_port: 80
tags: {}
"""