Commit Graph

17 Commits (02335843433bfdcd2f2bbe6c13235e0e4bf31775)

Author SHA1 Message Date
James Tanner 35cd043e25 Addresses #5276 update documentation for ec2_ami no_reboot parameter 11 years ago
evan82 01e8390a8f Fix ec2_ami no_reboot setting (currently it will not reboot instances to create the AMI)
Line 276: no_reboot = dict(default=True, type="bool"),

This should really default to False (When AMIs are created the machine will reboot before copying the disk).

"When enabled, Amazon EC2 does not shut down the instance before creating the image. When this option is used, file system integrity on the created image cannot be guaranteed."
11 years ago
Jeffrey Nappi 2b82f7d75f Corrected documentation in ec2_ami module - no_reboot defaults to yes 11 years ago
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
Michael DeHaan f7c3975f21 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
11 years ago
James Tanner afa5988391 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 11 years ago
Yap Sok Ann a8f95435c3 ec2_ami: Account for AWS's "eventual consistency" with AMI creation.
Calling `ec2.get_image` right after `ec2.create_image` may raise error
"InvalidAMIID.NotFound". This has happend roughly 1 time out of 10 for me.

Other people has bitten by this too:
- 5707f100a0
- http://stackoverflow.com/a/14794952
- https://bitbucket.org/utoolity/bamboo-aws-plugin/pull-request/22/baws-116-fix-ec2-image-task-failing-with/diff
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
Joshua Lund 654b37f212 Fixing typo in EC2 modules 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 10f99938b9 Fix YAML doc errors. 11 years ago
Evan Duffield 7932ccef46 added note about AMI security 12 years ago
Evan Duffield e33f5ae56e Merge branch 'devel' of https://github.com/evan82/ansible into devel 12 years ago
Evan Duffield 45bdda24db added region to spec 12 years ago
Evan de211aa8ec Getting timeout errors this morning as AMIs are taking a bit longer to create, so I changed to timeout to 15 minutes 12 years ago
Evan 637a6c562e fixed spelling errors, unused variables and unused import 12 years ago
Evan Duffield c8f8f14e59 Added module for baking EC2 AMIs 12 years ago