Toshio Kuratomi
1c4da434c7
Merge pull request #2421 from willthames/ec2_fix_vpc_security_token
...
Use connect_to_aws where possible
9 years ago
Daniel Petty
e256ae0683
replaced sudo with become
9 years ago
jjshoe
b0cbae51b5
Less engrish
9 years ago
Michael Baydoun
98c16a4f1f
Update ec2.py
...
Documentation is not clear that tag used in count_tags must be an existing instance_tag
9 years ago
techraf
2016d3d822
Fixed typo in example playbook
9 years ago
Brian Coca
15dcabe012
Merge pull request #2541 from joshuaeke/patch-1
...
Update ec2.py remove state tag
9 years ago
Arthur Clement
bfcdb05597
Example of single instance with ssd gp2 root volume creation
9 years ago
joshuaeke
ab420300ef
Update ec2.py remove state tag
...
'exact_count' and 'state' are mutually exclusive options they should not be in the following examples:
- # Enforce that 5 running instances named "database" with a "dbtype" of "postgres" example and
- # Enforce that 5 instances with a tag "foo" are running
9 years ago
Toshio Kuratomi
8ae30f1822
Minor simplification of code
9 years ago
Toshio Kuratomi
5617cd57cf
Merge pull request #2512 from erewh0n/ec2-require-all-groups
...
Fail ec2 module when group names cannot resolve to IDs
9 years ago
Brian Coca
6bd8020f65
corrected version_added, removed empty alias
9 years ago
Brian Coca
b789db7b9d
Merge pull request #2211 from kai11/feature/spot_launch_group
...
Added launch group support for ec2 module
9 years ago
Keith Hassen
39ef6a1a80
Fail if any group name is not resolved to an ID.
9 years ago
Will Thames
0dd58e9326
Use connect_to_aws where possible
...
`connect_to_aws` fixes a bug with security tokens in AWS.
Modules should use that rather than calling
`boto.x.connect_to_region`
9 years ago
Brian Coca
3aee4b9469
Merge pull request #2326 from jibsheet/devel
...
Mark this as a string so it is rendered in the docs
9 years ago
Brian Coca
59b87836d1
Merge pull request #2222 from pgilad/patch-1
...
Add state=running on some ec2 examples
9 years ago
Kevin Falcone
735eefb2ca
Mark this as a string so it is rendered in the docs
...
When this was treated as a boolean, sphinx was leaving the Default
column on http://docs.ansible.com/ansible/ec2_module.html blank,
implying it would use AWS's default. In reality, it passes False, which
overrides the defaults at AWS (it's possible to boot an instance which
AWS claims will always have EBS optimization without it because of this
silently passed False).
9 years ago
Brian Coca
f1fc76d732
Merge pull request #2214 from fperks/fix-ec2-error-on-instance-status-change
...
Fix error on ec2 status change
9 years ago
Abhijit Menon-Sen
ebd8b12e15
Add missing variable initializations
...
Without this, «ec2: state=stopped instance_ids=…» would fail with a
traceback like this:
if inst.get_attribute('sourceDestCheck')['sourceDestCheck'] != source_dest_check:
NameError: global name 'source_dest_check' is not defined
9 years ago
fperks
7fd3262c3c
Fix error on ec2 status change
...
Both `source_dest_check` and `termination_protection` variables are not
available within the scope of the startstopec2 instance method. This just
pulls them from module.params.
9 years ago
Gilad Peleg
5f914e854b
Add state=running on some ec2 examples
...
`state=running` was missing in some of the ec2 module examples
9 years ago
Kai Webber
d0b30dd86d
Added launch group support for ec2 module
9 years ago
Gerard Lynch
1857263b63
allow use of volume_type in volumes dict
9 years ago
Brian Coca
c4140cc6db
Merge pull request #2021 from h3biomed/enis_at_launch
...
ec2: allow ENIs to be specified at instance launch
9 years ago
Yanchek99
7104096c7c
Fixed typo for instance_tags documentation
9 years ago
Bret Martin
27e9318ffe
Use general-purpose parameter mutual exclusion code for network_interfaces
9 years ago
Bret Martin
44f3618dd3
Add alias `network_interface` and accept a string for a single ENI
9 years ago
Bret Martin
5db3f14e94
Add network_interfaces example
9 years ago
Bret Martin
a20a78a50c
Remove aliases specification from documentation since there are none
9 years ago
Bret Martin
eaa45dcbd9
Add network_interfaces parameter to ec2 module to support launch-time ENIs
9 years ago
Benno Joy
66288d48a2
Merge pull request #1703 from haad/ec2_start_stop_by_tag
...
Rebase start/stop by instance tag
9 years ago
James Cammarata
85ddb1b902
Fixing region requirement regarding euca clusters
...
Fixes ansible/ansible#11023
9 years ago
HAMSIK Adam
dfac073343
Rebase start/stop instance pull code
9 years ago
Brian Coca
481f300836
clarified error messages to actually give back ansible module option instead of internal boto field name
9 years ago
Jens Carl
fd0fc5131c
Fix missing alias "groups".
9 years ago
vanga
164043bd6d
Throw error if encryption is set while passing a snapshot id
9 years ago
Juho-Mikko Pellinen
b4911a47d1
Change the default flag value to None to prevent AWS complaining: "Instance creation failed => InvalidBlockDeviceMapping: the encrypted flag cannot be specified since device /dev/sda1 has a snapshot specified."
9 years ago
James Cammarata
65c63b3afa
Updating version_added for new spot_type param in ec2 module
...
Also made sure 'choices' were set on the module param, to catch errors
in user's playbooks, etc.
10 years ago
Jay Taylor
dbed8cee3b
Added support for spot request type specification (to support persistent spot requests).
10 years ago
Toshio Kuratomi
a1538b490e
Fix documentation
10 years ago
Andrea Mandolo
fe4884e8f0
Added some block_device_mapping (disks) informations to EC2 instance module ouput
10 years ago
Andrea Mandolo
2f8300087e
Added "EC2 instance" termination_protection and source_dest_check changeability at run-time
10 years ago
Philip Kirkland
274abb96b1
adding 'encrypted' option into volume dict so ec2 module can easily include encrypted volumes
10 years ago
nitzmahone
fd7bbc9eba
Added choice validation for state arg
...
fixes traceback on invalid state arg
10 years ago
Greg DeKoenigsberg
28a869a030
Updating cloud modules with proper github author information
10 years ago
Wang Qiang
31f3319b56
Do instance update after add tags to instance.
10 years ago
Brian Coca
150b71f11a
removed executable bit
10 years ago
Tom Paine
c97af02e40
Update ec2.py
...
updated default and choices to match standard
10 years ago
Tom Paine
1f7f7c7dbc
Update ec2.py
...
Update instance_type description to feature up-to-date list of instance types. Matches format of 'ebs_optimized' param which also includes a link.
Update region description to feature up-to-date list of ec2 regions. Matches format of 'ebs_optimized' param which also includes a link.
Updated choices for monitoring param to be explicit bool matching default 'yes'.
Updated choices for source_dest_check to be explicit bool matching default 'true'.
Updated tenancy choices to remove redundant phrasing in comments.
10 years ago
Tom Paine
764c3ae5a4
Update ec2.py
...
Make assign_public_ip choices explicit. People incorrectly try and assign a specific IP thinking it accepts an IP address as a value.
10 years ago