Commit Graph

470 Commits (dbeddd3e14765f70da6e5a69092948e4bcd2143e)

Author SHA1 Message Date
Michael DeHaan 27199dc219 Merge pull request #5133 from joshuaconner/add_docker_max_version_to_docs
add supported docker version to docs
11 years ago
Evgenii Terechkov b5d8aa9ff1 Use ovirtsdk if it installed, but fall out gracefully if it is not 11 years ago
jctanner c259993559 Merge pull request #5078 from brandonhilkert/fix-ec2-tags
Fix checking for existence of EC2 tags
11 years ago
Joshua Conner c2f128f737 add supported docker version to docs 11 years ago
James Tanner ad837709bd Addresses #5023 Fix import comments 11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
jctanner 93159cb9cd Merge pull request #4996 from sivel/rax-module-utils
Implement ansible.module_utils.rax
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
Michael DeHaan 36effd237c There's a cleaner way to do this, commit to module formatter pending.
Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago."

This reverts commit ff0a41d446.
11 years ago
Michael DeHaan ff0a41d446 No longer need to reference 'version_added' in docs for these, as this was quite a while ago. 11 years ago
Brandon Hilkert 33afaebb95 Fix checking for existence of EC2 tags 11 years ago
jctanner 696ce0effe Merge pull request #5067 from justinludwig/fix-aws-credential-params
Fix AWS credential params for ec2_ami, ec2_elb, ec2_tag, ec2_vpc, route53, and s3 modules
11 years ago
Jim Rybarski 483bb58f2d fixed documentation typo about region purpose 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
Bruce Pennypacker 9abca424ea Added promote command to promote read-replicas to standalone databases (http://aws.amazon.com/about-aws/whats-new/2012/10/11/amazon-rds-mysql-rr-promotion/). Added ability for the modify command to rename a database instance via the optional new_instance_name parameter 11 years ago
John Dewey 15613de6f5 Nova doesn't attempt to auth on obj instantiation
Need to call nova.authenticate() to validate credentials.
11 years ago
Matt Martz 3f2cbb7583 Add ansible.module_utils.rax 11 years ago
Matt Thompson 8cd465938b Add missing exception name 11 years ago
Michael DeHaan 82a9387532 Merge pull request #4971 from erjohnso/devel
fixes #4954 plus updates for gcutil/v1beta16 tests
11 years ago
Eric Johnson 8ff58eb46e fixes #4954 plus updates for gcutil/v1beta16 tests 11 years ago
James Tanner 52032b80d4 Fix pep8 error in ec2_vpc 11 years ago
James Martin 592124f129 cloudformation parameters no longer required. 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
Michael DeHaan 2726b13245 Changelog updates and a few module renames. vpc -> ec2_vpc, githooks -> github_hooks, blacklist -> kernel_blacklist. These are all new in 1.4 so safe to change. 11 years ago
Michael DeHaan aee1fcad05 Update changelog, rename vpc module to ec2_vpc. 11 years ago
Tom Berger 8a39e0a615 Update cloud/docker: if the image name containes a repository, strip it.
When using repositories other than the main one at docker.io, the image name contains the repo name (which itself contains ":" as a separator between domain and port). We don't really care about it here, so just get rid of it before looking at the image name.
11 years ago
Matt Martz 1ef49405b3 Remove debug print statement 11 years ago
jctanner 7ebda819b5 Merge pull request #4919 from sivel/4577-rax-refactor
Refactor rax module. Fixes #4577
11 years ago
Matt Martz 234a78673b Refactor rax module 11 years ago
Matt Martz fa4e55d677 follow suit with the rax refactor and split out the slugify code 11 years ago
Matt Martz 545aabaddc Add rax_facts module for retrieving facts about a Cloud Server 11 years ago
James Tanner d0986a20a3 Use shared ec2 module snippet in elasticache module 11 years ago
James Tanner fd6b16aca8 Merge pull request #4313 from jsdalton/ansible
Add AWS ElastiCache module
11 years ago
James Tanner a8c531a2f6 Merge branch 'add_aws_elasticache_module' of git://github.com/jsdalton/ansible into jsdalton-add_aws_elasticache_module 11 years ago
James Tanner a5c29b886e Merge pull request #4299 from psvo/ansible
Fix check for ROLLBACK_COMPLETE in cloudformation module
11 years ago
jctanner deb33e9d0e Merge pull request #4272 from psvo/tags_parameter_for_cloudformation
Add support for tags parameter to cloudformation module
11 years ago
James Tanner 0ecc83fe98 Change route53 module to use shared ec2 authorization module snippet 11 years ago
James Tanner fb903c5317 Change s3 module to use shared ec2 authorization module snippet 11 years ago
James Tanner 06eb7357fd Remove redundant credential code in vpc module 11 years ago
James Tanner 8332a0b75e Change vpc module to use shared ec2 authorization moudle snippet 11 years ago
James Tanner b37a8b90a6 Fix docstring quoting in vpc module 11 years ago
jctanner 7fdeed6539 Merge pull request #4141 from carsongee/vpc
Added module for handling AWS Virtual Private Clouds
11 years ago
Michael DeHaan 0a34870b1f Merge pull request #4858 from sivel/rax-clb-serialize
Fix serialization error in rax_clb
11 years ago
Rob Szewczyk fe95745a20 Correcting the security group id lookup from the list of security group names 11 years ago
Matt Martz a897bb389c Remove unused variable 11 years ago
Matt Martz 8f2f8a5b53 DRY up dict conversion and fix serialization error 11 years ago
jctanner 8e8c8efc8f Merge pull request #4769 from alanfairless/more-password-entropy-revised
Revised patch for more password entropy
11 years ago
jctanner 6a5672c997 Merge pull request #4835 from sivel/rax-clb
Add module to create Rackspace Cloud Loadblancers. Fixes #4794
11 years ago
Matt Martz 2065253c3e Rename rax_clb to rax_clb_nodes in docs and examples 11 years ago
jctanner e36781dace Merge pull request #4603 from claco/rax_network_module
Add rax_network module
11 years ago
Matt Martz 9d684c9e8e If you try to delete a balancer that isn't there, don't blow up 11 years ago
Matt Martz 772fbb8d0a Updates to rax_clb module 11 years ago
Christopher H. Laco 0be54b5585 Added replacement rax_clb that does LB detailed creation 11 years ago
Christopher H. Laco 6a964496b1 Renamed rax_clb to rax_clb_nodes since it's node management and not clb creation 11 years ago
jctanner 277dda5373 Merge pull request #4489 from cove/devel
add docker module
11 years ago
jctanner 31b5b66eb1 Merge pull request #4776 from jlaska/ec2_wait_on_terminate
Honor wait on ec2 instance termination
11 years ago
Christopher H. Laco f214b9870a 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
11 years ago
Christopher H. Laco 88083891bb 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
11 years ago
jctanner 15a9f7700f Merge pull request #4760 from urbanmapping/devel
make cloudformation module accept template_parameters from command line
11 years ago
Carson Gee 971976ae99 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.
11 years ago
dragon3 e54832a730 Remove duplicate "download_s3file" execution when the destination path doesn't exist 11 years ago
Cove Schneider 1ea17dee11 Fixes from docker-ansible, update license to be same as other modules 11 years ago
Mohan Krishnan 56bd9a14d5 Fix for connect method parameter order 11 years ago
Mohan Krishnan 0ae9128c7b ec2_eip connect method references module var that is not passed in 11 years ago
James Laska 2a5874b94f Honor wait on ec2 instance termination 11 years ago
Michael DeHaan e725eea4be Merge pull request #4770 from dragon3/devel
ec2_vol: return volume_id/device even when volume mapping already exists
11 years ago
James Tanner afa5988391 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 11 years ago
dragon3 19b5008c0a return volume_id/device even when volume mapping already exists 11 years ago
Alan Fairless 0824f004d9 Revised patch for more password entropy 11 years ago
Brian Cavagnolo 869f32123b 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..."
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
Michael DeHaan aae3a0ea8d Merge pull request #4740 from retr0h/return-server-object-not-list
Need to compare on server object not list
11 years ago
Sheldon Hearn 6a02c75b7c Fix description of nova_compute:name option
It's the name of the instance, not of an image.
11 years ago
John Dewey f1fa16b65f 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'
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
kiri c1c32c75ac add NoneType check. 11 years ago
Michael DeHaan 2b785ec7e5 Merge pull request #4610 from bennojoy/gcs_fix3
fix for overwrite in put operation
11 years ago
Christian Berendt 42d877146c fixed permissions of module library/cloud/ovirt 11 years ago
James Tanner 8157d5e52a Set version_added for ec2_eip's in_vpc parameter 11 years ago
jctanner 0b4f84d780 Merge pull request #4593 from pas256/eip-vpc
Add VPC support for EIP module
11 years ago
James Tanner b803aac6ec Fixes #4500 change ec2 module params to type=bool
Revert 4833c2fdf0
11 years ago
Cove Schneider 94574f7296 update with current fixes from docker-ansible 11 years ago
jctanner e34cde6bef Merge pull request #4112 from jsdalton/add_az_support_to_ec2_elb
Add enable_availability_zone parameter to ec2 module.
11 years ago
bennojoy 0c275424c6 fix to work like copy module 11 years ago
bennojoy 788e783b6d fix for overwrite in put operation 11 years ago
Jim Dalton 2d7f0e28db Availability zone should not be required 11 years ago
Jim Dalton 3957238fbf Ensure port can be read for both memcached as well as redis 11 years ago
Michael DeHaan 21d4400c96 Misc pep8 fixes 11 years ago
Michael DeHaan aa93ce2dc2 Fix deprecation warnings in the Google modules. 11 years ago
Peter Sankauskas b793248df4 Now this disassociates EIPs from instances inside a VPC correctly. Time
for a PR.
11 years ago
Peter Sankauskas 0e459f65f0 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 11 years ago
Brian Schott bdc8ea828e added aws_access_key and aws_secret_key aliases to ec2_group arguments 11 years ago
Michael DeHaan 8a516d1479 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.
11 years ago
Michael DeHaan 4bdf3da25a Merge pull request #4333 from bennojoy/gcs
support for google cloud storage module
11 years ago
Michael DeHaan baa13a5cc7 Merge pull request #4395 from erjohnso/devel
adding Google Compute Engine modules and inventory plugin
11 years ago
Lorin Hochstein 1c5bdba977 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.
11 years ago
Michael DeHaan 84ff24d92c Merge pull request #4346 from dmkoch/digitalocean-droplet-options
Add "virtio" and "private_networking" options for DigitalOcean droplets
11 years ago
Cove Schneider 5f7e1fc306 Un-camelcase DockerContainers, rename class to DockerManager(). 11 years ago
Michael DeHaan b8ec300d4c Add note about feature being new in 1.4 11 years ago
Constantine Peresypkin 499a2fe456 add support for disk_config option to cloud/rax module 11 years ago
Michael DeHaan 54b5548068 Slight tweak to ovirt module docs. 11 years ago
Michael DeHaan f6eae5571a Update version_added in ovirt module. 11 years ago
Michael DeHaan 5dd25692d4 Merge pull request #3838 from vincentvdk/ovirt-mod
added new module "ovirt"
11 years ago
Cove Schneider 565db64a04 remove comment about requirements 11 years ago
Cove Schneider a4922bc74c add requirements back 11 years ago
Cove Schneider 618004f87b clean up a few warnings 11 years ago
Cove Schneider c51981b5b7 add python requirements to docs 11 years ago
Cove Schneider fbca1ebc04 add example docs 11 years ago
Cove Schneider 1fe45c4f6c add docker module 11 years ago
Eric Johnson 1b07e7a521 update defaults and help for 'name' and 'instance_names' 11 years ago
Eric Johnson 81b5c93c78 address a few review comments 11 years ago
Harrison Gu b5500d9a4d Fix bug for setting ec2 tags 11 years ago
Andy Kluger f97871e0d9 Corrected docs ("monitor" -> "monitoring" and dissociated monitoring from instance_tags in examples) 11 years ago
James Tanner d21a0287a2 Remove all sys.exit calls in the cloud/s3 module
Fixes #4458
11 years ago
jctanner 861779bb6e Merge pull request #4457 from mbarrin/devel
Fixed crash when s3 bucket did not exist for put operation
11 years ago
Matthew Barrington ce0bf71245 Fixed crash when s3 bucket did not exist for put operation 11 years ago
Michael DeHaan 119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
bennojoy 40565ef236 nova compute fix regex in instance name 11 years ago
Joost Cassee bd10aad71f 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
11 years ago
James Tanner c679491ece #4408 s3: add force alias for overwrite and set True by default 11 years ago
James Tanner c55107fa83 Remove debug comment from s3 module 11 years ago
James Tanner 9c3fb9c2b7 4006: return s3 url even if file exists 11 years ago
Eric Johnson cfc249931a custom user-agent header 11 years ago
Michael DeHaan d803ce7ab3 Fix documentation of default value in s3 module. Fixes #4289 11 years ago
Eric Johnson 9ca824c16d adding Google Compute Engine modules and inventory plugin 11 years ago
Michael DeHaan 0e909640c5 Make group_id be a list. 11 years ago
Michael DeHaan 686d998b26 Merge pull request #4368 from sayap/ec2_ami
ec2_ami: Account for AWS's "eventual consistency" with AMI creation.
11 years ago
Michael DeHaan 709993aa27 Merge pull request #4334 from bennojoy/s3
minor fixes
11 years ago
Michael DeHaan 39a81c4361 Merge pull request #4300 from psvo/cloudformation_results_fix
Fail cloudformation operation when it is not completed successfully
11 years ago
Benno Joy c1198dc12c change "Changed" to changed 11 years ago
Michael DeHaan 42e84e1b34 Merge pull request #4264 from wulczer/fix-linode-param-type
The payment term param in the Linode module is an int.
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
bennojoy 01a0fa1352 gc_storage rewrite commit 2 11 years ago
Benno Joy 834c990903 gc_storage rewrite commit 1 11 years ago
Matt Martz c56659a2a8 Update references for rax_clb_nodes to use rax_clb 11 years ago
Matt Martz fd959a8b7c Move rax_clb_nodes to rax_clb 11 years ago
Daniel Koch cdc5e04d7b Add check to make sure dopy is at least version 0.2.2 for digital_ocean module 11 years ago
Daniel Koch 8c0e8354bf Add "virtio" and "private_networking" options for DigitalOcean droplets
The dopy manager defaults to False for virtio, but the DigitalOcean web interface defaults to True, which is a pretty safe default and sensible considering the performance gains.

Private networks are a new feature currently available only in the NYC2 region as of Oct 2, 2013.

NOTE: dopy >= 0.2.2 is required for these options to work.
11 years ago
Michael DeHaan df529b9b69 Merge pull request #4338 from jlaska/ec2_group_idempotency
Add idempotency support to ec2_group
11 years ago
James Laska e002496f0e Add idempotency support to ec2_group 11 years ago
bennojoy 00dcf0f1ac minor fixes 11 years ago
bennojoy c374b4e442 support for google cloud storage module 11 years ago
Michael DeHaan a43ebf0b29 Merge pull request #4330 from tgerla/ec2_eip-docs
ec2_eip module: note that there may be a delay reaching the instance
11 years ago
Tim Gerla 70be8cfd17 ec2_eip module: note that there may be a delay before the reassigned instance is reachble. 11 years ago
James Tanner c13dd50b5e typo in ec2_eip docstring 11 years ago
Jim Dalton f62b3be36d Add AWS ElastiCache module 11 years ago
Petr Svoboda 19fb4f861c Fail cloudformation operation when it is not completed successfully
When cloudformation operation is successfully submitted but some step
during stack creation or update fails, operation result should be
failed=True.
11 years ago
Petr Svoboda e8a5c6f58a Fix check for ROLLBACK_COMPLETE in cloudformation module
When stack creation is rolled back, final status is not
CREATE_ROLLBACK_COMPLETE but ROLLBACK_COMPLETE.
11 years ago
Petr Svoboda 5e4fff98f2 Add version_added to cloudformation tags parameter 11 years ago
Petr Svoboda d294669dec Add Boto version check for tags parameter of cloudformation module
Tags parameter requires at least version 2.6.0 of Boto module. When tags
parameter is used with older version, error is raised. When tags
parameter is unused, module works as before.
11 years ago