mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 01:03:09 +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
|
||||
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: {}
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user