mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07: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:
parent
5dd9372ff8
commit
bf9077bfad
1 changed files with 10 additions and 10 deletions
|
@ -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: {}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue