Commit Graph

13 Commits (ab52efc7fb37c8c6b7d9c19ecb27b82f97f192eb)

Author SHA1 Message Date
Justin Ludwig 26374d89a0 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.
11 years ago
James Tanner 0ecc83fe98 Change route53 module to use shared ec2 authorization module snippet 11 years ago
Michael DeHaan 119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
Joost Cassee bd10aad71f 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
11 years ago
James Cammarata 2f6dcfe36f Fixed small typo from the merge conflict in the route53 module 11 years ago
James Cammarata bb75050912 Merge branch 'rb2' of https://github.com/bpennypacker/ansible into bpennypacker-rb2
Conflicts:
	library/cloud/route53
11 years ago
Arthur Taylor 1dd3ff3879 Added Overwrite option for Route53 record creation 11 years ago
Bruce Pennypacker 0f458210bc Rebase attempt
No idea if I'm rebasing properly or not.  This is my first attempt.
11 years ago
Michael DeHaan 524c7bd791 Remove end of line semicolons. 12 years ago
Michael DeHaan c5cbb1dc62 Fix route53 module docs version/module name 12 years ago
Bruce Pennypacker cf3f9380d0 added AAAA example 12 years ago
Bruce Pennypacker e9de70668b fixed doc typos 12 years ago
Bruce Pennypacker a5e9057752 AWS route53 module 12 years ago