Matt Clay
23f2efbc8d
PEP 8 E111 cleanup. ( #20841 )
2017-01-30 18:03:13 -08:00
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
2017-01-29 07:28:53 +00:00
Matt Clay
d0d1158c5e
PEP 8 cleanup. ( #20789 )
...
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
2017-01-28 00:12:11 -08:00
Andrea Tartaglia
ef391a11ec
Removed dict.iteritems() in modules. ( #18859 )
...
This is for py3 compatibility, addressed in #18506
2016-12-12 15:16:23 -08:00
James Cammarata
8afa090417
Resolving differences in core modules post-merge
2016-12-08 11:25:36 -05:00
Toshio Kuratomi
7319104552
Refreshed metadata for core modules
2016-12-08 11:25:35 -05:00
Ryan S. Brown
bf9077bfad
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.
2016-12-08 11:25:27 -05:00
John R Barker
25b6492d37
Bulk spelling improvement to modules-core ( #5225 )
...
* Correct spelling mistakes
* Correct more spelling issues
* merge conflict
* Revert typo in parms
2016-12-08 11:25:20 -05:00
Rick Mendes
be33879152
Fixes #4227 : just changing messaging
2016-12-08 11:24:46 -05:00
Lyle Mantooth
f57ece661f
Remove file extension from policy names ( #3805 )
...
Fixes #3804 .
Prevents `__file__` from contributing ".", which is an illegal character in ELB policy names.
2016-12-08 11:24:46 -05:00
Rick Mendes
4fad93561a
please remove me as maintainer
2016-12-08 11:24:46 -05:00
Rick Mendes
d6cc007380
Fixes #4227
2016-12-08 11:24:46 -05:00
Shaun Brady
7b8d625546
Make ec2_elb_lb respect VPCs when resolving groups
...
AWS security groups are unique by name only by VPC (Restated, the VPC
and group name form a unique key).
When attaching security groups to an ELB, the ec2_elb_lb module would
erroneously find security groups of the same name in other VPCs thus
causing an error stating as such.
To eliminate the error, we check that we are attaching subnets (implying
that we are in a VPC), grab the vpc_id of the 0th subnet, and filtering
the list of security groups on this VPC. In other cases, no such filter
is applied (filters=None).
2016-12-08 11:24:46 -05:00
Shaun Brady
3b32b60338
Remove trailing white space
2016-12-08 11:24:46 -05:00
Adam Butler
0c7ec1e860
Fixes incorrect key name protocols -> protocol ( #3963 )
2016-12-08 11:24:38 -05:00
@
3fa745eef9
Fixing error exception handling for python3. Does not need to be compa… ( #3840 )
...
* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.
* Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above.
* Fixing compile time errors IRT error exception handling for Python 3.5.
This does not need to be compatible with Python2.4 b/c Boto is Python 2.6 and above.
2016-12-08 11:24:34 -05:00
Nathan Brown
c053fa5378
Do not expect the elb to have policies or instances. Fixes #3593 ( #3595 )
2016-12-08 11:24:30 -05:00
Sumit Roy
b8204774dd
Support tagging ELBs using boto 2.0. ( #2844 )
2016-12-08 11:24:20 -05:00
Joel Thompson
1db444cdc2
Add exponential backoff retries to ec2_elb_lb ( #3379 )
...
ec2_elb_lb doesn't react well to AWS API throttling errors. This
implements an exponential backoff operation around some of the AWS API
calls (with random jitter, in line with AWS recommendations) to make
this more resilient.
2016-12-08 11:24:18 -05:00
Brian Coca
d035961d1c
added version added
2016-12-08 11:24:13 -05:00
Fabian Fülling
eaa7e717a2
Fixes #2039 Convert None to 0 when checking if ELB cookie expiration has changed
2016-12-08 11:24:12 -05:00
Nate Brown
b891b0c9bc
ELB Proxy Protocol support for backends
2016-12-08 11:24:11 -05:00
krdlab
c680611fe4
Fix `self.changed` value in `ElbManager` (ec2_elb_lb)
2016-12-08 11:23:57 -05:00
Brian Coca
1fe3387971
crrected version added
2016-12-08 11:23:57 -05:00
Etherdaemon
eba78d08f9
Update to wait and wait_timeout with a maximum of 10 minutes timeout
2016-12-08 11:23:55 -05:00
Etherdaemon
cd3f306518
Proposing a wait_for function to ensure elb has been successfully removed
2016-12-08 11:23:55 -05:00
HAMSIK Adam
2af105bcbc
Convert enabled value to boolean to actually work, make sure we can set expiration period to 0(None) to disable it
2016-12-08 11:23:53 -05:00
Toshio Kuratomi
6cb1606005
Don't raise or catch StandardError in amazon modules
2016-12-08 11:23:50 -05:00
Tom Paine
0bf5fa1c23
Update ec2_elb_lb.py
2016-12-08 11:23:48 -05:00
Adrian Bridgett
6bc4c877fc
remove unneeded aliases
2016-12-08 11:23:46 -05:00
Adrian Bridgett
f90bcfee1f
add idle_timeout support
2016-12-08 11:23:46 -05:00
Brian Coca
9f503540f1
added missing version_added to new accesslogs feature
2016-12-08 11:23:42 -05:00
Gilad Peleg
c340587bb8
Docs: add state choices to ec2_elb_lb
...
add state options (`present` and `absent`) to `ec2_elb-lb` doc
2016-12-08 11:23:41 -05:00
Nathaniel Felsen
ec14a5c728
Adding support for access logs in ELB
2016-12-08 11:23:37 -05:00
Tom Fotherby
135e7c60de
Fix #1984 - allow load_balancer_port as a variable
2016-12-08 11:23:35 -05:00
Toshio Kuratomi
33f5afa779
Make sure listener ports are ints.
...
May fix #1984
2016-12-08 11:23:34 -05:00
Brian Coca
9b38e47d70
added rickmendes as maintainer
2016-12-08 11:23:23 -05:00
HAMSIK Adam
e04a4a4114
Use mutually_exclusive in AnsibleModule
2016-12-08 11:23:21 -05:00
HAMSIK Adam
3d3be5e91f
Fix missing ,
2016-12-08 11:23:21 -05:00
HAMSIK Adam
b7a13e263f
Add version
2016-12-08 11:23:21 -05:00
HAMSIK Adam
05df069176
Add module parameter for security group name. This make ec2_elb_lb module consitent with others
2016-12-08 11:23:21 -05:00
Robb Wagoner
848e9de950
remove double dict & fix increment bug
2016-12-08 11:23:16 -05:00
Robb Wagoner
372a2286db
return health of instances and counts
2016-12-08 11:23:15 -05:00
Greg DeKoenigsberg
18ca7aee07
Updating cloud modules with proper github author information
2016-12-08 11:23:07 -05:00
Matt Schurenko
ef140a084a
adding stickiness support to ec2_elb_lb.py
...
removing policy if enabled is no
adding sanity checks
removing debuging
check if policy exists before deleting
updating version_added to 2.0
adding stickiness support to ec2_elb_lb.py (squashed commit)
2016-12-08 11:22:58 -05:00
steenzout
67f769d9a6
issue #994 : use HAS_BOTO to determine if import was successful: - removed import of sys module. - HAS_BOTO constant to check if import was successful. - trigger a failure when import fails. - removed unnecessary imports.
2016-12-08 11:22:53 -05:00
Sarah Zelechoski
17334b21ea
fix syntax in last example
2016-12-08 11:22:50 -05:00
Coderah
40c41ed4ec
add hosted_zone information to ec2_elb_lb return
2016-12-08 11:22:44 -05:00
Doug Ellwanger
cc6cc6e302
Pull SSL certificate IDs from existing ELBs
2016-12-08 11:22:42 -05:00
Will Thames
834c8d2f59
Added better region handling and enabled eu-central-1
...
Make use of improved connect_to_aws that throws an exception
if a region can't be connected to (e.g. eu-central-1 requires
boto 2.34 onwards)
Add eu-central-1 to the two modules that hardcode their regions
Add us-gov-west-1 to ec2_ami_search to match documentation!
This pull request makes use of the changes in ansible/ansible#9419
2016-12-08 11:22:33 -05:00