Commit graph

13 commits

Author SHA1 Message Date
Justin Ludwig
bd9e6a74f7 Fix AWS credential params for s3 and other modules
The `ec2_ami`, `ec2_elb`, `ec2_tag`, `ec2_vpc`, `route53`, and `s3` modules
all canonicalize the AWS access and secret key params as
`aws_access_key` and `aws_secret_key`. However, following the fixes for #4540,
those modules now use `get_ec2_creds` from `lib/ansible/module_utils/ec2.py`,
which requires access/secret key params to be canonicalized as
`ec2_access_key` and `ec2_secret_key`. As a result, AWS credentials passed
to those six modules as parameters are ignored (they instead always use
the AWS credentials specified via environment variables, or nothing).

So this change fixes those six modules to canonicalize the
AWS access and secret key params as `ec2_access_key` and `ec2_secret_key`,
allowing them to again accept AWS credentials passed via module params.
2013-11-26 19:29:06 -08:00
James Tanner
810aab96e7 Change route53 module to use shared ec2 authorization module snippet 2013-11-12 14:16:30 -05:00
Michael DeHaan
beae21dd40 Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00
Joost Cassee
fad56730e8 Add in a retry loop for route53 requests
The route53 api doesn't allow multiple overlapping requests, so if
it is still processing a previous request when the next comes in will
return an error.

Fixes #4085
2013-10-09 12:50:41 -05:00
James Cammarata
f54b72faea Fixed small typo from the merge conflict in the route53 module 2013-08-23 13:40:57 -05:00
James Cammarata
d9c460ed07 Merge branch 'rb2' of https://github.com/bpennypacker/ansible into bpennypacker-rb2
Conflicts:
	library/cloud/route53
2013-08-23 11:36:45 -05:00
Arthur Taylor
8fc13062aa Added Overwrite option for Route53 record creation 2013-08-22 12:46:20 -05:00
Bruce Pennypacker
11470fea04 Rebase attempt
No idea if I'm rebasing properly or not.  This is my first attempt.
2013-08-20 15:14:16 -04:00
Michael DeHaan
71b3d7043b Remove end of line semicolons. 2013-07-21 11:55:38 -04:00
Michael DeHaan
8d0a14ae7d Fix route53 module docs version/module name 2013-07-21 11:20:37 -04:00
Bruce Pennypacker
d20ab9eaf3 added AAAA example 2013-07-18 17:12:14 -04:00
Bruce Pennypacker
ad64b8416e fixed doc typos 2013-07-18 15:41:44 -04:00
Bruce Pennypacker
7fe34e0b37 AWS route53 module 2013-07-18 13:45:00 -04:00