mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
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.
This commit is contained in:
@@ -311,8 +311,8 @@ EXAMPLES = """
|
|||||||
- us-east-1d
|
- us-east-1d
|
||||||
listeners:
|
listeners:
|
||||||
- protocol: http
|
- protocol: http
|
||||||
- load_balancer_port: 80
|
load_balancer_port: 80
|
||||||
- instance_port: 80
|
instance_port: 80
|
||||||
|
|
||||||
# Create an ELB with load balancer stickiness enabled
|
# Create an ELB with load balancer stickiness enabled
|
||||||
- local_action:
|
- local_action:
|
||||||
@@ -325,8 +325,8 @@ EXAMPLES = """
|
|||||||
- us-east-1d
|
- us-east-1d
|
||||||
listeners:
|
listeners:
|
||||||
- protocol: http
|
- protocol: http
|
||||||
- load_balancer_port: 80
|
load_balancer_port: 80
|
||||||
- instance_port: 80
|
instance_port: 80
|
||||||
stickiness:
|
stickiness:
|
||||||
type: loadbalancer
|
type: loadbalancer
|
||||||
enabled: yes
|
enabled: yes
|
||||||
@@ -343,8 +343,8 @@ EXAMPLES = """
|
|||||||
- us-east-1d
|
- us-east-1d
|
||||||
listeners:
|
listeners:
|
||||||
- protocol: http
|
- protocol: http
|
||||||
- load_balancer_port: 80
|
load_balancer_port: 80
|
||||||
- instance_port: 80
|
instance_port: 80
|
||||||
stickiness:
|
stickiness:
|
||||||
type: application
|
type: application
|
||||||
enabled: yes
|
enabled: yes
|
||||||
@@ -361,8 +361,8 @@ EXAMPLES = """
|
|||||||
- us-east-1d
|
- us-east-1d
|
||||||
listeners:
|
listeners:
|
||||||
- protocol: http
|
- protocol: http
|
||||||
- load_balancer_port: 80
|
load_balancer_port: 80
|
||||||
- instance_port: 80
|
instance_port: 80
|
||||||
tags:
|
tags:
|
||||||
Name: "New ELB"
|
Name: "New ELB"
|
||||||
stack: "production"
|
stack: "production"
|
||||||
@@ -379,8 +379,8 @@ EXAMPLES = """
|
|||||||
- us-east-1d
|
- us-east-1d
|
||||||
listeners:
|
listeners:
|
||||||
- protocol: http
|
- protocol: http
|
||||||
- load_balancer_port: 80
|
load_balancer_port: 80
|
||||||
- instance_port: 80
|
instance_port: 80
|
||||||
tags: {}
|
tags: {}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user