@
1573066ec1
Fixing error exception handling for python. Does not need to be compatible with Python2.4 b/c boto is Python 2.6 and above. ( #3839 )
2016-12-08 11:24:33 -05:00
David Fischer
adec050165
Add MariaDB to valid RDS engines ( #3337 )
...
* Add MariaDB to valid RDS engines
* Update RDS module documentation
2016-12-08 11:24:32 -05:00
Roberto Bampi
375884464e
Add an example for SRV record in route53 ( #3749 )
2016-12-08 11:24:31 -05:00
Doug Luce
9167abdd10
Fix S3 unavailable region error
...
This is to address this error:
fatal: [site]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to connect to S3: Region does not seem to be available for awsmodule boto.s3. If the region definitely exists, you may need to upgrade boto or extend with endpoints_path"}
Commit 0dd58e9 changed the logic so an exception is thrown (by
`connect_to_aws`) before the `s3 is None` check is performed. This
changes the `None` check to a catch so the old logic can compensate.
2016-12-08 11:24:30 -05:00
Kenny Woodson
cd09aab9b4
Unindenting the delete to user ( #3147 )
2016-12-08 11:24:30 -05:00
Ryan Brown
962a446238
Allow users to pick AWS Aurora as an RDS engine ( #3414 )
...
Per the [RDS docs](http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html ),
add `aurora` as a valid DB engine.
2016-12-08 11:24:30 -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
kwerey
963cb64337
Add option to make RDS param groups for the MySQL 5.7 engine family. ( #3695 )
2016-12-08 11:24:30 -05:00
Lloyd Hazlett
20e86d1062
Add path type to argument_spec where applicable ( #3040 )
2016-12-08 11:24:30 -05:00
Kaz Cheng
ff1c591c3e
Allow create_iam_role to return an additional value of role_result and ( #2418 )
...
instance_profile_result, in addition to the existing role list and change value
2016-12-08 11:24:29 -05:00
hyperized
82cefd7ce1
Added restart functionality to ec2.py
2016-12-08 11:24:26 -05:00
John R Barker
d13046a905
ansible-validate-modules part 4: Enable check on ansible-modules-core ( #3526 )
...
* Call ansible-validate-modules
* Correct quotes + add newline
2016-12-08 11:24:26 -05:00
cspollar
7dc0dcc59e
Add missing periods to description items.
...
Current theme used by docs.ansible.com displays description items on one line. Adding periods helps readability.
2016-12-08 11:24:25 -05:00
Brian Coca
fdcc1fe763
clarified docs on overwrite
2016-12-08 11:24:25 -05:00
Ryan Brown
52edeeca4c
Fix capitalization of AWS in ec2_lc module documentation
2016-12-08 11:24:24 -05:00
Bill W
0fcc2d8973
Add more example on how to use module ec2_tags to list tags on an ins… ( #3530 )
...
* Add more example on how to use module ec2_tags to list tags on an instance
* Add more example on how to use module ec2_tags to list tags on an instance
2016-12-08 11:24:24 -05:00
deyvsh
3775d8e684
Extend example to demonstrate usage of ephemeral disks. ( #3550 )
2016-12-08 11:24:24 -05:00
Sumit Roy
b8204774dd
Support tagging ELBs using boto 2.0. ( #2844 )
2016-12-08 11:24:20 -05:00
Brian Coca
4e08f94a34
corrected return docs sample
2016-12-08 11:24:20 -05:00
Constantin
404f07af8e
Added improvements and documented return structure ( #2320 )
2016-12-08 11:24:19 -05:00
jjshoe
87946920d8
Fix an issue where by a call to ec2.get_image wasn't wrapped in a try/except, and would occasionally throw an exception in the wild. Also greatly simplifies two of the ugliest known loops to man down into a single loop. ( #2554 )
2016-12-08 11:24:19 -05:00
Dennis Conrad
70b0891f95
Fix UnboundLocalError if 'access_key_ids' not supplied
...
'key_ids' is referenced before it is assigned, causing the module to fail with a UnboundLocalError instead of failing gracefully with a helpful error message. This very small patch moves the assignment of 'key_ids' to before the variable is referenced.
2016-12-08 11:24:19 -05:00
Marcin
c3ebc84689
rebase for #2477 , ready_for_review ( #2581 )
2016-12-08 11:24:18 -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
Michael Moussa
0494dced3a
Fixes read replica create BC break ( #3365 )
2016-12-08 11:24:17 -05:00
William Holroyd
42d784c24b
Added ap-northeast-2 region ( #2849 )
2016-12-08 11:24:17 -05:00
Rob
5a48a2e93e
Fix to ensure youngest snapshot is retrieved rather than oldest ( #3115 )
2016-12-08 11:24:17 -05:00
jjshoe
5b8d209b7e
Speed up AMI code by not attempting to create the AMI without checkin… ( #2551 )
...
* Speed up AMI code by not attempting to create the AMI without checking on the name first. Also simplifies code for reporting errors from AMI creation, greatly.
* remove sys.exit
2016-12-08 11:24:17 -05:00
Marcin
ea57d8b005
Check if identifier is specified for geo,weighted or failover routing. Don't fail if record set already exist. Set choices for failover - capital PRIMARY and SECONDARY. ( #2470 )
2016-12-08 11:24:17 -05:00
Kalle Lehtonen
02f737cdee
Fix and add more error handling for role policies
...
In case role policy was deleted, we did not handle at all if there
was authorization issue to do the deletion. Also add message when
role is not found and the policy is skipped.
2016-12-08 11:24:16 -05:00
Brian Coca
ff755da1e5
fixed doc quoting
2016-12-08 11:24:15 -05:00
Brian Coca
37513ca8bb
corrected required docs as only boolean is allowed
...
these complex values were not displayed and would always show the fields as requried
2016-12-08 11:24:15 -05:00
Christian Aistleitner
51e3c6c49b
Guard against too old boto library
...
route53 creates Record objects using `health check` and `failover`
parameters. Those parameters only became available in boto 2.28.0.
As some prominent LTS Linux releases (e.g.: Ubuntu 14.04) only ship
older boto versions (e.g.: 2.20.1 for Ubuntu 14.04), users are getting
unhelpful error messages like
TypeError: __init__() got an unexpected keyword argument 'health_check'
when running Ansible 2 against their LTS install's default boto.
We improve upon this error message by checking the boto version
beforehand.
Fixes ansible/ansible#13646
2016-12-08 11:24:14 -05:00
Arnaud Lachaume
50622b4e6a
fix aws elasticache idempotency
2016-12-08 11:24:14 -05:00
whiter
dadf835a06
Remove access_key and secret_key as these are provided by aws doc fragment Remove ec2 doc fragment as region is not required for IAM
2016-12-08 11:24:14 -05:00
Ashwanth Kumar
7c5b4b142a
Doing exponential backoff on route53 upon AWS throttling
2016-12-08 11:24:14 -05:00
Brian Coca
d035961d1c
added version added
2016-12-08 11:24:13 -05:00
Ted Timmons
8c6741b2bb
fix typo in documentation
...
let's -> lets
2016-12-08 11:24:13 -05:00
Taras Lipatov
b5fb47e28e
Fixed typo json_fail to fail_json
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
Jonathan Davila
f24c3fb40e
Clarified IAM module doc
2016-12-08 11:24:12 -05:00
Neil Saunders
83039b93f0
Fix for issue #3109 : Executing ec2_group with rules fails with "Invalid rule parameter '['"
2016-12-08 11:24:11 -05:00
Nate Brown
b891b0c9bc
ELB Proxy Protocol support for backends
2016-12-08 11:24:11 -05:00
Joel
e3de705d0c
Allow us to sort by all available datatypes
2016-12-08 11:24:11 -05:00
Brian Coca
b61d531dfc
corrected typo on aws connection arguments var
2016-12-08 11:24:10 -05:00
Constantin07
33079b2b7f
Treat 'is_public' option as a bool
2016-12-08 11:24:10 -05:00
Tom Bamford
1cace51ed6
Bugfix: Permit SOA record type
2016-12-08 11:24:09 -05:00
Ryan-Neal Mes
2fa3f16012
Indented code so it only executes tag comparison for matching cird values
2016-12-08 11:24:09 -05:00
Will Thames
52accd7d1f
Use connect_to_aws where possible
...
`connect_to_aws` fixes a bug with security tokens in AWS.
Modules should use that rather than calling
`boto.x.connect_to_region`
2016-12-08 11:24:09 -05:00
Jonathan Davila
7f338e13ff
Updated ec2_lc docs
2016-12-08 11:24:08 -05:00