Commit graph

391 commits

Author SHA1 Message Date
jctanner
fb27ca9f0a Merge pull request #4919 from sivel/4577-rax-refactor
Refactor rax module. Fixes #4577
2013-11-15 12:20:13 -08:00
Matt Martz
0aa71a19ab Refactor rax module 2013-11-15 12:25:21 -06:00
Matt Martz
7aaac10a00 follow suit with the rax refactor and split out the slugify code 2013-11-15 12:00:32 -06:00
Matt Martz
40354d0775 Add rax_facts module for retrieving facts about a Cloud Server 2013-11-15 11:12:48 -06:00
James Tanner
e6bd870959 Use shared ec2 module snippet in elasticache module 2013-11-13 10:24:08 -05:00
James Tanner
a63ecf23cd Merge pull request #4313 from jsdalton/ansible
Add AWS ElastiCache module
2013-11-13 10:15:51 -05:00
James Tanner
62b147f6c8 Merge branch 'add_aws_elasticache_module' of git://github.com/jsdalton/ansible into jsdalton-add_aws_elasticache_module 2013-11-13 10:10:40 -05:00
James Tanner
29be6bc164 Merge pull request #4299 from psvo/ansible
Fix check for ROLLBACK_COMPLETE in cloudformation module
2013-11-13 10:03:09 -05:00
jctanner
ccad333395 Merge pull request #4272 from psvo/tags_parameter_for_cloudformation
Add support for tags parameter to cloudformation module
2013-11-12 11:58:43 -08:00
James Tanner
810aab96e7 Change route53 module to use shared ec2 authorization module snippet 2013-11-12 14:16:30 -05:00
James Tanner
d62812b8ee Change s3 module to use shared ec2 authorization module snippet 2013-11-12 14:13:05 -05:00
James Tanner
55a3411d67 Remove redundant credential code in vpc module 2013-11-12 14:10:38 -05:00
James Tanner
680bc0cd84 Change vpc module to use shared ec2 authorization moudle snippet 2013-11-12 14:09:06 -05:00
James Tanner
ef3cf6368a Fix docstring quoting in vpc module 2013-11-12 14:02:50 -05:00
jctanner
19dc0b4ae7 Merge pull request #4141 from carsongee/vpc
Added module for handling AWS Virtual Private Clouds
2013-11-12 11:01:00 -08:00
Michael DeHaan
409db94d90 Merge pull request #4858 from sivel/rax-clb-serialize
Fix serialization error in rax_clb
2013-11-10 13:51:41 -08:00
Rob Szewczyk
53e9a422e8 Correcting the security group id lookup from the list of security group names 2013-11-08 17:46:41 -05:00
Matt Martz
368f85e58a Remove unused variable 2013-11-08 13:15:38 -06:00
Matt Martz
f8c3a83cd5 DRY up dict conversion and fix serialization error 2013-11-08 13:11:15 -06:00
jctanner
929466b8df Merge pull request #4769 from alanfairless/more-password-entropy-revised
Revised patch for more password entropy
2013-11-07 13:39:05 -08:00
jctanner
ca63f59ce2 Merge pull request #4835 from sivel/rax-clb
Add module to create Rackspace Cloud Loadblancers. Fixes #4794
2013-11-07 11:15:23 -08:00
Matt Martz
f597cb2b62 Rename rax_clb to rax_clb_nodes in docs and examples 2013-11-07 12:56:59 -06:00
jctanner
b760a04274 Merge pull request #4603 from claco/rax_network_module
Add rax_network module
2013-11-07 10:49:06 -08:00
Matt Martz
7153753600 If you try to delete a balancer that isn't there, don't blow up 2013-11-07 10:46:50 -06:00
Matt Martz
9a1adb1772 Updates to rax_clb module 2013-11-07 10:42:15 -06:00
Christopher H. Laco
adca8d0dd8 Added replacement rax_clb that does LB detailed creation 2013-11-07 10:42:15 -06:00
Christopher H. Laco
a7d84ed5d3 Renamed rax_clb to rax_clb_nodes since it's node management and not clb creation 2013-11-07 10:42:15 -06:00
jctanner
e7a71a1649 Merge pull request #4489 from cove/devel
add docker module
2013-11-07 07:00:23 -08:00
jctanner
83b00e60e3 Merge pull request #4776 from jlaska/ec2_wait_on_terminate
Honor wait on ec2 instance termination
2013-11-06 12:02:00 -08:00
Christopher H. Laco
b414a3af6f Update module based on upstream feedback
- Remove deleted state
- Use dict() instead of raw hash
- Wrap or statements in parens instead of backslash line continuations
- Change instances to networks in module return result
2013-11-06 12:36:47 -06:00
Christopher H. Laco
dc30f4c1bf Add rax_network module
Based on the refactor work @sivel is doing, adding a rax_network module
to create/delete networks in the Rackspace Public Cloud.

See: https://github.com/ansible/ansible/issues/4577
2013-11-06 12:36:46 -06:00
jctanner
544b271c6a Merge pull request #4760 from urbanmapping/devel
make cloudformation module accept template_parameters from command line
2013-11-06 08:12:11 -08:00
Carson Gee
67dd35f21c Added module for handling AWS Virtual Private Clouds
This handles creating and editing VPCs and takes care of vpcs,
subnets, Internet Gateways, and route tables.
2013-11-05 16:20:20 -05:00
dragon3
15b6dad3e3 Remove duplicate "download_s3file" execution when the destination path doesn't exist 2013-11-05 22:03:40 +09:00
Cove Schneider
b69fdc270b Fixes from docker-ansible, update license to be same as other modules 2013-11-03 12:48:03 -08:00
Mohan Krishnan
2232b9ce6a Fix for connect method parameter order 2013-11-03 14:48:35 +07:00
Mohan Krishnan
6ab967ef9f ec2_eip connect method references module var that is not passed in 2013-11-03 05:18:27 +07:00
James Laska
582a32040b Honor wait on ec2 instance termination 2013-11-01 18:57:20 -04:00
Michael DeHaan
2dd59c87a4 Merge pull request #4770 from dragon3/devel
ec2_vol: return volume_id/device even when volume mapping already exists
2013-11-01 09:32:54 -07:00
James Tanner
0a5adda059 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 2013-11-01 11:59:24 -04:00
dragon3
2d857c9c44 return volume_id/device even when volume mapping already exists 2013-11-01 23:59:42 +09:00
Alan Fairless
9b8fae6158 Revised patch for more password entropy 2013-11-01 09:51:35 -05:00
Brian Cavagnolo
c42d987788 make cloudformation module accept template_parameters from command line
Passing cloudformation template_parameters on the command line
like so was failing:

    ansible localhost -m cloudformation -a "...template_parameters=foo=5,bar=4..."
2013-10-31 17:00:03 -07:00
Michael DeHaan
b5e5a96d03 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. 2013-10-31 18:46:13 -04:00
Michael DeHaan
422bba7b4c Merge pull request #4740 from retr0h/return-server-object-not-list
Need to compare on server object not list
2013-10-31 14:51:08 -07:00
Sheldon Hearn
5e7be2041e Fix description of nova_compute:name option
It's the name of the instance, not of an image.
2013-10-31 12:34:04 +02:00
John Dewey
fdec31f200 Need to compare on server object not list
TASK: [create test controller 0] **********************************************
    failed: [127.0.0.1] => {"failed": true, "parsed": false}
    invalid output was: Traceback (most recent call last):
      File "/Users/jdewey/.ansible/tmp/ansible-1383197329.62-262790004573235/nova_compute", line 1203, in <module>
        main()
      File "/Users/jdewey/.ansible/tmp/ansible-1383197329.62-262790004573235/nova_compute", line 261, in main
        _get_server_state(module, nova)
      File "/Users/jdewey/.ansible/tmp/ansible-1383197329.62-262790004573235/nova_compute", line 197, in _get_server_state
        if server.status != 'ACTIVE':
    AttributeError: 'list' object has no attribute 'status'
2013-10-30 22:41:02 -07:00
Scott Armit
957ef6efb3 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.
2013-10-28 10:11:38 -04:00
kiri
14d6bda763 add NoneType check. 2013-10-28 21:35:57 +09:00
Michael DeHaan
52e35c5e6c Merge pull request #4610 from bennojoy/gcs_fix3
fix for overwrite in put operation
2013-10-26 11:29:11 -07:00
Christian Berendt
700969e8cb fixed permissions of module library/cloud/ovirt 2013-10-26 09:05:21 +02:00
James Tanner
664c4839eb Set version_added for ec2_eip's in_vpc parameter 2013-10-24 12:19:43 -04:00
jctanner
4fbfa4706f Merge pull request #4593 from pas256/eip-vpc
Add VPC support for EIP module
2013-10-24 10:22:43 -07:00
James Tanner
740491e0ce Fixes #4500 change ec2 module params to type=bool
Revert 4833c2fdf0
2013-10-24 09:19:25 -04:00
Cove Schneider
729297bce8 update with current fixes from docker-ansible 2013-10-23 22:56:02 -07:00
jctanner
602e7483c2 Merge pull request #4112 from jsdalton/add_az_support_to_ec2_elb
Add enable_availability_zone parameter to ec2 module.
2013-10-22 14:01:24 -07:00
bennojoy
a5b199e07b fix to work like copy module 2013-10-22 09:03:52 +05:30
bennojoy
9e3f8670f7 fix for overwrite in put operation 2013-10-21 09:46:21 +05:30
Jim Dalton
fa0ab58a7e Availability zone should not be required 2013-10-20 16:20:36 -07:00
Jim Dalton
6bdeac6e1c Ensure port can be read for both memcached as well as redis 2013-10-19 12:29:07 -07:00
Michael DeHaan
ce8b0944a9 Misc pep8 fixes 2013-10-19 13:03:15 -04:00
Michael DeHaan
91c34af12a Fix deprecation warnings in the Google modules. 2013-10-19 13:03:14 -04:00
Peter Sankauskas
27fa111c4d Now this disassociates EIPs from instances inside a VPC correctly. Time
for a PR.
2013-10-18 15:12:49 -07:00
Peter Sankauskas
9f279618fe First round of changes to the EIP module to get it to be able to work well inside a VPC, and to be able to delete EIPs as well 2013-10-18 14:38:58 -07:00
Brian Schott
f775bea0b1 added aws_access_key and aws_secret_key aliases to ec2_group arguments 2013-10-17 15:23:24 -04:00
Michael DeHaan
2b20be94e0 Various standardization to the proposed gce_storage module to bring things in line with updates to the S3 module.
Some typo fixes.

Further testing required.
2013-10-17 10:49:51 -04:00
Michael DeHaan
f8b4f59113 Merge pull request #4333 from bennojoy/gcs
support for google cloud storage module
2013-10-17 07:35:53 -07:00
Michael DeHaan
870bb4b1db Merge pull request #4395 from erjohnso/devel
adding Google Compute Engine modules and inventory plugin
2013-10-17 07:30:55 -07:00
Lorin Hochstein
87055995b9 s3: better check for walrus
Check for Walrus endpoint by looking to see if the endpoint is not AWS.

This fixes a bug where the user specifies an AWS endpoint via S3_URL,
but the code interprets it as Walrus and then fails.
2013-10-16 13:22:41 -04:00
Michael DeHaan
05251f2745 Merge pull request #4346 from dmkoch/digitalocean-droplet-options
Add "virtio" and "private_networking" options for DigitalOcean droplets
2013-10-14 17:05:06 -07:00
Cove Schneider
502fe3cf5f Un-camelcase DockerContainers, rename class to DockerManager(). 2013-10-14 13:49:53 -07:00
Michael DeHaan
a3df406554 Add note about feature being new in 1.4 2013-10-14 11:57:19 -04:00
Constantine Peresypkin
c2eef4d139 add support for disk_config option to cloud/rax module 2013-10-14 11:57:19 -04:00
Michael DeHaan
6e4c1bf4fa Slight tweak to ovirt module docs. 2013-10-14 11:43:01 -04:00
Michael DeHaan
98045673eb Update version_added in ovirt module. 2013-10-14 11:41:24 -04:00
Michael DeHaan
459af0a7c5 Merge pull request #3838 from vincentvdk/ovirt-mod
added new module "ovirt"
2013-10-14 08:40:07 -07:00
Cove Schneider
21e31722f9 remove comment about requirements 2013-10-13 21:37:42 -07:00
Cove Schneider
b4cce885e3 add requirements back 2013-10-13 21:36:42 -07:00
Cove Schneider
8f0b3cac51 clean up a few warnings 2013-10-13 21:34:58 -07:00
Cove Schneider
0fc525ff11 add python requirements to docs 2013-10-13 21:14:27 -07:00
Cove Schneider
3859da2a76 add example docs 2013-10-13 20:34:14 -07:00
Cove Schneider
ea3745d7dd add docker module 2013-10-13 15:07:27 -07:00
Eric Johnson
b212632808 update defaults and help for 'name' and 'instance_names' 2013-10-13 13:48:09 -07:00
Eric Johnson
b4533c880b address a few review comments 2013-10-13 13:41:55 -07:00
Harrison Gu
e31927a03e Fix bug for setting ec2 tags 2013-10-12 20:57:32 +08:00
Andy Kluger
1cc0a8af6d Corrected docs ("monitor" -> "monitoring" and dissociated monitoring from instance_tags in examples) 2013-10-11 13:32:23 -04:00
James Tanner
d03211cf6b Remove all sys.exit calls in the cloud/s3 module
Fixes #4458
2013-10-11 11:28:47 -04:00
jctanner
aeccb4c06e Merge pull request #4457 from mbarrin/devel
Fixed crash when s3 bucket did not exist for put operation
2013-10-11 08:18:51 -07:00
Matthew Barrington
e16e77249f Fixed crash when s3 bucket did not exist for put operation 2013-10-11 16:01:54 +01:00
Michael DeHaan
beae21dd40 Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00
bennojoy
118c59b385 nova compute fix regex in instance name 2013-10-10 11:44:30 +05:30
Joost Cassee
fad56730e8 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
2013-10-09 12:50:41 -05:00
James Tanner
613b6a2473 #4408 s3: add force alias for overwrite and set True by default 2013-10-09 12:56:56 -04:00
James Tanner
7aa187b413 Remove debug comment from s3 module 2013-10-09 12:25:09 -04:00
James Tanner
4b4b9551d0 4006: return s3 url even if file exists 2013-10-09 12:12:24 -04:00
Eric Johnson
ea8147802a custom user-agent header 2013-10-08 16:36:35 +00:00
Michael DeHaan
50d72d89c2 Fix documentation of default value in s3 module. Fixes #4289 2013-10-08 08:42:03 -04:00
Eric Johnson
ab47f575dd adding Google Compute Engine modules and inventory plugin 2013-10-07 21:01:37 +00:00
Michael DeHaan
b73f311f8b Make group_id be a list. 2013-10-07 15:34:35 -04:00
Michael DeHaan
d1a751cfb1 Merge pull request #4368 from sayap/ec2_ami
ec2_ami: Account for AWS's "eventual consistency" with AMI creation.
2013-10-07 06:09:34 -07:00