Commit Graph

101 Commits (69e7999586cf395e7ff73a8dceadb5b0d035fb0f)

Author SHA1 Message Date
willthames de659af82b Added the ability to add volumes to instances at creation time
This allows a volume to be cloned from a snapshot, a brand new
volume to be created, or an ephemeral volumes to be associated
at time of instance creation.

This avoids any race conditions associated with creating extra volumes
after instance creation (e.g. writes happening before the volume is
mounted).

In addition, this allows the root volume to be edited
11 years ago
willthames 8fb5a66944 keypair is not absolutely required when creating ec2 instances 11 years ago
Joseph Tate e868d00472 Add capability check for parameters on request_spot_instances 11 years ago
willthames 12005a1cd0 Move more responsibility to common EC2 module
Moved `AWS_REGIONS` into `ec2` module
Created `ec2_connect` method in `ec2` module
Updated modules able to use `ec2_connect` and `AWS_REGIONS`
11 years ago
Alex Coomans dd3aea6e9b Add ability to disable the Source/Destination check on EC2 11 years ago
Joseph Tate 080e70ab6e Added version_added for spot instance parameters 11 years ago
Joseph Tate 40f9da351f Extend ec2 module to support spot instances 11 years ago
Nicholas DeClario b2ea24bc08 Added ability to start and stop existing EC2 instances. 11 years ago
James Tanner 04b031756c Merge pull request #4502 from dxsarmit/ansible
New library/cloud/ec2 module parameter (assign_public_ip) for non-default VPC instance launching.
11 years ago
Rob Szewczyk fe95745a20 Correcting the security group id lookup from the list of security group names 11 years ago
James Laska 2a5874b94f Honor wait on ec2 instance termination 11 years ago
James Tanner afa5988391 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 11 years ago
Michael DeHaan 187ebf2f56 Leverage 4318b27 and no longer treat instance tags as JSON, but as dictionary types which could be key=value or dicts or JSON or references. 11 years ago
Scott Armit ef317ecde7 If an AWS account does not have a default subnet in their VPC configuration, then creating instances in that VPC will not automatically provide a public IP/DNS. Boto added this functionality in 2.13.0 (NetworkInterfaceSpecification.associate_public_ip_address).
This change adds assign_pubic_ip as a parameter to the ec2 module, ensuring that it is not set to one of BOOLEANS_TRUE if vpc_subnet_id is not also set, and if Boto is less than 2.13.0.
11 years ago
James Tanner b803aac6ec Fixes #4500 change ec2 module params to type=bool
Revert 4833c2fdf0
11 years ago
Andy Kluger f97871e0d9 Corrected docs ("monitor" -> "monitoring" and dissociated monitoring from instance_tags in examples) 11 years ago
Michael DeHaan 0e909640c5 Make group_id be a list. 11 years ago
James Cammarata 8b010cbb45 Make the ec2 wait code a little smarter
The code to determine the number of running instances could blow up
if the response from AWS did not actually contain any data. This code
makes it a bit smarter in handling, so that it will wait for a valid
response regardless of the wait condition.

Fixes #3980
11 years ago
Charles Blonde 00ec91bb36 Update instance_profile_name message 11 years ago
Charles Blonde ac4e16a99b Add support to Boto library < 2.5.0 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
Lorin Hochstein 729c03ed88 Minor doc update to s3 & ec2 modules
Adds some additional docs about the module parameters for s3
and ec2 modules.
11 years ago
Michael DeHaan 5f18a53530 Fixup docs formatting. 11 years ago
Michael DeHaan 31ccf1dfda Merge pull request #3748 from lorin/ec2-idempotency
Add description to id parameter of ec2 module
11 years ago
Lorin Hochstein 631dc8b7b1 Add description to id parameter of ec2 module
Add some details in the docs about how the id parameter of the ec2
module behaves.
11 years ago
Lorin Hochstein 3647d112f8 ec2: Removed unused line
Remove the reference to the unused "termination_list" parameter
in the ec2 module. The instance_ids parameter is the one that contains
the list of instance ids to be terminated.
11 years ago
Lorin Hochstein 0c1f6b4f51 ec2: check for changes
In the ec2 module, if an id is specified, check if there have been
any changes. If not, return changed=False

Fixes #3746
11 years ago
Ralph Tice 1529a974e1 fixed vpc provisioning / clarified group_id usage 11 years ago
Michael DeHaan 2c965476ed Merge pull request #3550 from lwade/ec2role
Added IAM role support
11 years ago
Michael DeHaan 1ff8c78f26 Removing legacy variable usage. 11 years ago
Lester Wade 9ec103e748 Added IAM role support 11 years ago
Michael DeHaan fafb3c10a5 Merge pull request #3293 from jarv/devel
Adds termination support to the ec2 module
12 years ago
Michael DeHaan 0b251d840b Styling: spacing 12 years ago
John Jarvis a61ec2e6b3 typo 12 years ago
John Jarvis c85b0bb05f using instance_ids and state=absent for removing instances 12 years ago
John Jarvis 3a5f095693 Adds termination support to the ec2 module
Pass in the `instances` output of the ec2 module
to terminate a list of instances that were previously provisioned.

Useful for automated testing.
12 years ago
Michael DeHaan 2ed9b52481 Quote some strings in the docs 12 years ago
Michael DeHaan e1abda42a9 Merge pull request #3171 from mynameisdaniil/devel
Adds 'groups' field into ec2 plugin
12 years ago
Daniil 07bea63533 Allow 'ec2.group' field to handle lists of groups 12 years ago
Michael DeHaan a94e404a97 Merge pull request #3236 from lwade/ec2_placementzone
Added placement_group parameter for cluster compute. Issue 3232.
12 years ago
lwade 886a71e8eb Added placement_group parameter for cluster compute. 12 years ago
Jan-Piet Mens 30d641094b Docs: consistently format playbook EXAMPLES 12 years ago
Michael DeHaan d323a0ccaa Standardize example 12 years ago
Michael DeHaan 7af6a11a0c ec2 module: more indentation fixing 12 years ago
Michael DeHaan ab2e9dbffd ec2 module fixes for 'make pep8' 12 years ago
Mario Franco 43156f3bab Fix tab 12 years ago
Mario Franco 365411d4ee Fix zone 12 years ago
Mario Franco f74316607f Fix security group id for vpc based on @samukasmk solution 12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago