Parameter |
Choices/Defaults |
Comments |
access_logs
(added in 2.0) |
|
An associative array of access logs configuration settings (see example)
|
aws_access_key
|
|
AWS access key. If not set then the value of the AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY or EC2_ACCESS_KEY environment variable is used.
aliases: ec2_access_key, access_key
|
aws_secret_key
|
|
AWS secret key. If not set then the value of the AWS_SECRET_ACCESS_KEY, AWS_SECRET_KEY, or EC2_SECRET_KEY environment variable is used.
aliases: ec2_secret_key, secret_key
|
connection_draining_timeout
(added in 1.8) |
|
Wait a specified timeout allowing connections to drain before terminating an instance
|
cross_az_load_balancing
bool
(added in 1.8) |
|
Distribute load across all configured Availability Zones
|
ec2_url
|
|
Url to use to connect to EC2 or your Eucalyptus cloud (by default the module will use EC2 endpoints). Ignored for modules where region is required. Must be specified for all other modules if region is not used. If not set then the value of the EC2_URL environment variable, if any, is used.
|
health_check
|
|
An associative array of health check configuration settings (see example)
|
idle_timeout
(added in 2.0) |
|
ELB connections from clients and to servers are timed out after this amount of time
|
instance_ids
(added in 2.1) |
|
List of instance ids to attach to this ELB
|
listeners
|
|
List of ports/protocols for this ELB to listen on (see example)
|
name
required |
|
The name of the ELB
|
profile
(added in 1.6) |
|
Uses a boto profile. Only works with boto >= 2.24.0.
|
purge_instance_ids
bool
(added in 2.1) |
|
Purge existing instance ids on ELB that are not found in instance_ids
|
purge_listeners
bool |
|
Purge existing listeners on ELB that are not found in listeners
|
purge_subnets
bool
(added in 1.7) |
|
Purge existing subnet on ELB that are not found in subnets
|
purge_zones
bool |
|
Purge existing availability zones on ELB that are not found in zones
|
region
|
|
aliases: aws_region, ec2_region
|
scheme
(added in 1.7) |
Choices:
- internal
internet-facing ←
|
The scheme to use when creating the ELB. For a private VPC-visible ELB use 'internal'. If you choose to update your scheme with a different value the ELB will be destroyed and recreated. To update scheme you must use the option wait.
|
security_group_ids
(added in 1.6) |
|
A list of security groups to apply to the elb
|
security_group_names
(added in 2.0) |
|
A list of security group names to apply to the elb
|
security_token
(added in 1.6) |
|
AWS STS security token. If not set then the value of the AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variable is used.
aliases: access_token
|
state
required |
|
Create or destroy the ELB
|
stickiness
(added in 2.0) |
|
An associative array of stickiness policy settings. Policy will be applied to all listeners ( see example )
|
subnets
(added in 1.7) |
|
A list of VPC subnets to use when creating ELB. Zones should be empty if using this.
|
tags
(added in 2.1) |
|
An associative array of tags. To delete all tags, supply an empty dict.
|
validate_certs
bool
(added in 1.5) |
|
When set to no , SSL certificates will not be validated for boto versions >= 2.6.0.
|
wait
bool
(added in 2.1) |
|
When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.
|
wait_timeout
(added in 2.1) |
Default:
60
|
Used in conjunction with wait. Number of seconds to wait for the elb to be terminated. A maximum of 600 seconds (10 minutes) is allowed.
|
zones
|
|
List of availability zones to enable on this ELB
|