Commit Graph

8 Commits (d2329baa9335066b9edcf46bdea17c7a626d0235)

Author SHA1 Message Date
Atlas Health 7b4fe54690 fixed error related to type being defined as a number 11 years ago
Michael DeHaan 9fa0ec57fb Scrub choices=BOOLEANS from remaining core module references. Correct form in argument_spec is type='dict'. 11 years ago
Hagai dbd18bfe3e Added wait_timeout option 11 years ago
Hagai e59f4fb85e ec2_snapshot: Add `wait' and `snapshot_tags' parameters, return more
info on success
11 years ago
follower 75ce001230 Fix typo
"a the" -> "the"
11 years ago
James Cammarata 789a2915d1 Updating profile/security_token version_added labels 11 years ago
Will Thames 7d0e161662 Work to allow security tokens and profiles to work with Ansible
Allow security tokens and profiles to be used as arguments
to the 'common' ec2 modules

Mostly refactoring to provide two new methods,
`get_aws_connection_info`, which results in a dict that can be
passed through to the boto `connect_to_region` calls, and
`connect_to_aws` that can pass that dict through to the
`connect_to_region` method of the appropriate module.

Tidied up some variable names

Works around boto/boto#2100

profiles don't work with boto < 2.24, but this detects for that
and fails with an appropriate message. It is designed to work
if profile is not passed but boto < 2.24 is installed.

Modifications to allow empty aws auth variables to be passed
(this is useful if wanting to have the keys as an optional
parameter in ec2 calls - if set, use this value, if not set,
use boto config or env variables)

Reworked validate_certs improvements to work with refactoring

Added documentation for profile and security_token to affected modules
11 years ago
willthames 54d099ac27 Module to create EC2 snapshots
Two methods of creating a snapshot
* use volume_id
* use device_name and instance_id

The latter is more useful with inventory
11 years ago