From bf9077bfadae94b394f5f656d519e636776fc928 Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Thu, 10 Nov 2016 10:45:47 -0500 Subject: [PATCH] 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. --- .../modules/cloud/amazon/ec2_elb_lb.py | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py index 1d7722ca5a4..d326d865b3c 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py +++ b/lib/ansible/modules/cloud/amazon/ec2_elb_lb.py @@ -311,8 +311,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: @@ -325,8 +325,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 @@ -343,8 +343,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 @@ -361,8 +361,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" @@ -379,8 +379,8 @@ EXAMPLES = """ - us-east-1d listeners: - protocol: http - - load_balancer_port: 80 - - instance_port: 80 + load_balancer_port: 80 + instance_port: 80 tags: {} """