Commit Graph

646 Commits (95c79ad483c3be40c192f56f59869d670388de1b)

Author SHA1 Message Date
jctanner a807e3b9c8 Merge pull request #5496 from angstwad/cf-module
Module support for Rackspace Cloud Files
11 years ago
jctanner df8ecdeded Merge pull request #5210 from sivel/rax-dns-record
rax_dns_record: Add rax_dns_record module
11 years ago
jctanner 339ab7b077 Merge pull request #5208 from sivel/rax-dns
Add rax_dns module
11 years ago
jctanner 07b6d6ffd6 Merge pull request #5690 from sivel/rax-regex-fix
rax module: Fix regex match
11 years ago
Rene Moser a412eae9cd digital_ocean: added requirements in DOCUMENTATION 11 years ago
Dmitry Ivanov 62ef8dfbe0 [s3] Compatibility with fakes3. 11 years ago
Matt Martz 89fbc64b60 Fix regex match, the printf match should work with 0 or more numeric padding characters, not 1 or more 11 years ago
jctanner 1f1fa6c09a Merge pull request #5322 from bcrochet/neutron-fip-select
quantum_* modules: Neutron name change, keeping backward compatibility
11 years ago
willthames 238da3cb02 ec2_elb module: Minor improvements to documentation
ELB(s) cause a weird formatting behaviour - it appears as EL**s**
Added choices documentation to the state option
11 years ago
Michael DeHaan 6f49642286 All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ).
Fixing for standardization purposes.
11 years ago
Matt Paine d392e067bf Enable changes to ttl of a record to be propogated to route53 11 years ago
willthames 8fb5a66944 keypair is not absolutely required when creating ec2 instances 11 years ago
Matt Martz e3adaa648a Ensure the id attribute is returned for a node 11 years ago
willthames c06b63ce82 Added ability to create EC2 volume from snapshot
ec2_vol module now takes optional snapshot argument
Added relevant module argument handler and documentation
11 years ago
Paul Durivage a85e021640 Completed documentation and examples 11 years ago
Paul Durivage e822ddd910 Add rax_files_objects module for Rackspace Cloud Files support
This squashed commit fixed typos, changed to Py 2.4 compatible exceptions
11 years ago
Paul Durivage 41be035a43 Add module support for Rackspace Cloud Files Containers 11 years ago
jctanner 7520bac8ce Merge pull request #5404 from sivel/rax-improvements
rax module: improvements
11 years ago
jctanner 9a69b1b0ec Merge pull request #5311 from willthames/ec2_refactor
ec2 modules: Move more responsibility to common EC2 module
11 years ago
Michael DeHaan 99616d0c80 Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog 11 years ago
Mikhail Sobolev 8733b5da8b fix short/full description for elasticache 11 years ago
Michael DeHaan 0bdf615612 User report of DO not taking underscores so tweaking docs 11 years ago
Will Thames b65486734a rds module: add snapshot capabilities
Add the ability to create snapshots and restore from them
Make instance creation, deletion, restore, and snapshotting idempotent
(really helps testing a playbook if you can run it multiple times)
11 years ago
David Hummel c5433d9742 Check for group_name and cidr_ip. 11 years ago
David Hummel bd67c6756a Add rule group_name parameter whose value can reference containing group name. 11 years ago
Joseph Tate e868d00472 Add capability check for parameters on request_spot_instances 11 years ago
willthames 46a5f8c656 Make state=present the default for ec2_tag
Using `ec2_tag` module without the state argument
currently results in:
```
failed: [127.0.0.1] => {"failed": true, "parsed": false}
```
This fix makes `state=present` the default
11 years ago
jctanner d3f94fe606 Merge pull request #5303 from mohangk/rds_postgres
Adds postgres support for Ansible RDS module
11 years ago
Brad P. Crochet 47f995ef64 Specify internal_network_name
This allow one to specify a specific internal network name for the case
where there is more than one nic on an instance. Without this, the list
of ports may not return the correct order. Therefore, it is necessary
to specify the exact internal network to attach the floating ip to
11 years ago
Brad P. Crochet ab52efc7fb Add support for neutronclient
The quantum_* modules will now try neutronclient first, and fall back
to quantumclient. If that fails, error out.

The code now references neutron instead of quantum in all internal
cases.
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
Troy C 038d030404 catch exposed cs.exceptions instead of novaclient 11 years ago
Mohan Krishnan 1dd2510e76 Adds postgres support for Ansible RDS module 11 years ago
Matt Martz 925eb1dca7 Don't import novaclient, exceptions are available via cs.exceptions 11 years ago
Matt Martz b3744800fb Utilize ansible.module_utils.rax 11 years ago
Matt Martz 017c9d07d2 Initial commit of rax_keypair 11 years ago
Alex Coomans dd3aea6e9b Add ability to disable the Source/Destination check on EC2 11 years ago
Troy C 3007a8af7e import novaclient.exceptions for cs.images.find
cs.images.find(human_id= throws novaclient.exceptions.NotFound,
resulting in the try/except block with
image = cs.images.find(name=image)  being skipped. catching
novaclient.exception.NotFound allows images to be specified with the
human readable name.

Example:
  tasks:
    - name: Server build request
      local_action:
        module: rax
        region: DFW
        image: Ubuntu 12.04 LTS (Precise Pangolin)

Also, the import is placed after try: import pyrax, because pyrax
imports novaclient and should fail if novaclient is missing.
11 years ago
Joseph Tate 080e70ab6e Added version_added for spot instance parameters 11 years ago
James Tanner f55270e746 Set version_added for new_instance_name in cloud/rds module 11 years ago
Joseph Tate 40f9da351f Extend ec2 module to support spot instances 11 years ago
jctanner 66cad764d2 Merge pull request #5028 from retr0h/correct-nova-api-auth-check
Nova doesn't attempt to auth on obj instantiation
11 years ago
Vincent Viallet db37528fd2 Bumped to v1.5 11 years ago
jctanner 6051ee0df5 Merge pull request #5052 from bpennypacker/promote_rename
cloud/rds module: added promote command & updated modify command to allow for renaming of database instances.
11 years ago
James Tanner 35cd043e25 Addresses #5276 update documentation for ec2_ami no_reboot parameter 11 years ago
evan82 01e8390a8f Fix ec2_ami no_reboot setting (currently it will not reboot instances to create the AMI)
Line 276: no_reboot = dict(default=True, type="bool"),

This should really default to False (When AMIs are created the machine will reboot before copying the disk).

"When enabled, Amazon EC2 does not shut down the instance before creating the image. When this option is used, file system integrity on the created image cannot be guaranteed."
11 years ago
jctanner 1688a7c776 Merge pull request #5231 from jeffnappi/patch-1
Corrected documentation in ec2_ami module - no_reboot defaults to yes
11 years ago
Nicholas DeClario b2ea24bc08 Added ability to start and stop existing EC2 instances. 11 years ago
Jim Dalton aa329b4b48 Make sure initial_state is initialized 11 years ago
Matt Martz 27fb55519c Add version_added for vip_id 11 years ago
Matt Martz 6c6dd09e23 Add ability to specify a VirtualIP ID for sharing a VIP with another LB 11 years ago
Vincent Viallet 30820437bb Minor typos and remove extra dependencies. 11 years ago
Vincent Viallet 1150b78bb0 Add ec2_key module. 11 years ago
Michael Gregson 3ac4611093 Rename digital_ocean_ssh to digital_ocean_sshkey per https://github.com/ansible/ansible/pull/4315#issuecomment-30286556 11 years ago
Jim Dalton ac1e84d976 Account for instances that have not yet been registered. Fixes #5076 11 years ago
Jeffrey Nappi 2b82f7d75f Corrected documentation in ec2_ami module - no_reboot defaults to yes 11 years ago
John Dewey 6fe8496ab3 Made a few canges as I learn more about modules
* Set check_mode to False, am not supporting this ATM.
* Cleaned up delete/create() into single update().
* Return the group_id if created or found so tasks can be chained.
11 years ago
Matt Martz ccf4199ac8 Initial commit of rax_dns_record 11 years ago
Matt Martz afd55934fc Remove errant raise 11 years ago
Matt Martz 7b3aa5c205 Add state attribute to description 11 years ago
Matt Martz c5f54a94f8 Initial commit of rax_dns module 11 years ago
David Hummel 614efadb7a Fix issue #5043: ec2_vpc module wait=yes state attribute retrieval 11 years ago
Michael DeHaan 71a5de6e72 Merge pull request #5168 from sivel/rax_clb_required_together
rax_required_together is a function
11 years ago
Matt Martz d73251c342 rax_required_together is a function 11 years ago
Bruce Pennypacker d3480c5630 fixed documentation & added rename example 11 years ago
John Dewey 4e547e1228 Added ability to manage nova floating IPs
This module is based off the ec2_eip module, but accounts for pools,
which is openstack related functionality.
11 years ago
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
Brian Candler 3b07f848a2 Additional idempotent states for virt module: "destroyed" and "paused" 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
John Dewey 1e646a3112 Added module to handle nova security groups
This module is loosely based on ec2_group module.  However, rules are
handled slightly differently.  Specific rules are able to be removed vs
removing all "rogue" [1] rules.

[1] Rogue rules are existing security group rules, which are
    not included in the `rules` dict.
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
Thomas van Noort 5f1dd47954 Allow for reuse of allocated but unassociated Elastic IPs. 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
Lorin Hochstein 0df1195fb9 Genericize module to support multiple distros
Make the module implementatino more generic to support distributions
other than Ubuntu in the future.

Adds distro as a new parameter.
11 years ago
Lorin Hochstein 99fc134881 Rename to ec2_ami_search 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
Lorin Hochstein 08541e291a New module: ec2_ubuntu_ami
This module will retrieve the AMI of the most recent official Ubuntu
EC2 image for a given Ubuntu release.
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
Michael Gregson 7e0a56d2a4 [digital_ocean] Remove command usage from digital_ocean_ssh examples
I seem to have forgotten to do this in my last commit.
11 years ago
Michael Gregson b4fdb4c86b [digital_ocean] revert original module and add one new module for each command 11 years ago
James Tanner c13dd50b5e typo in ec2_eip docstring 11 years ago
Michael Gregson b47df3e1f1 Add basic domain handling to digital_ocean cloud action 11 years ago
Michael Gregson 8276face94 [digital_ocean] Don't die when the id parameter is missing
It's okay for this to happen now, because we might move on to the name parameter
if unique_name is enabled.
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
Petr Svoboda b5ae761070 Add support for tags parameter to cloudformation module
Expose boto.cloudformation.create_stack() tags parameter. Supplied tags
will be applied to stack and all it's resources on stack creation.
Cannot be updated later (not supported by UpdateStack CloudFormation
API).
11 years ago
Jan Urbański 7fa92054fe The payment term param in the Linode module is an int. 11 years ago
James Cammarata 80524a8f2b Merge pull request #4165 from jerm/devel
dest in s3 module does not work with ~username expansion for home directories
11 years ago
James Cammarata 484297cfa8 Added a version_added string to the new digital_ocean module param 11 years ago
James Cammarata 3fd0eefb97 Merge branch 'digital_ocean_idempotence_take2' of https://github.com/ralphbean/ansible into ralphbean-digital_ocean_idempotence_take2 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
James Cammarata 080f35f63a Merge branch 'ec2_boto' of https://github.com/CharlesBlonde/ansible into CharlesBlonde-ec2_boto 11 years ago
Jim Dalton 3ea0b2bc05 Add enable_availability_zone parameter to ec2 module. 11 years ago
Michael DeHaan 0dc232a177 Merge pull request #4159 from stygstra/quantum_subnet-nameservers
Add option for DNS nameservers to quantum_subnet module
11 years ago
James Cammarata 4efdf0d49f More housekeeping
* Modified version_added strings in recent modules
* Added firewalld inclusion to the CHANGELOG
11 years ago
James Cammarata a26c1b64c6 Minor pep8 cleanup in ec2_eip module 11 years ago
James Cammarata f369650922 Merge branch 'ec2_eip' of https://github.com/lorin/ansible into lorin-ec2_eip 11 years ago
Jim Dalton d026153069 Add health check parameter. 11 years ago
James Cammarata ecaf649adc Changed the version_added field in rax_clb_nodes to 1.4 11 years ago
James Cammarata 93fd06d48c Minor doc fix and a CHANGELOG update for the new rax_clb_nodes module 11 years ago
James Cammarata e4ee97384a Merge branch 'rax-clb-nodes' of https://github.com/neuroid/ansible into neuroid-rax-clb-nodes 11 years ago
Jim Dalton 38431adf06 Add ec2_elb_lb for managing ELBs 11 years ago
James Laska 03252e1d30 [cloud/rax] support wait on delete
Add support to existing rax module to honor the wait (and wait_timeout)
parameters on delete operations.  This patch removes existing logic in favor of
the built-in pyrax.utils.wait_until method.
11 years ago
Jeremy Price f56b3fba3e dest in s3 module does not work with ~username notation for home directories. Wrapped dest definition in os.path.expanduser() which will return the expanded path in case of successful tilde expansion and otherwise the original value 11 years ago
David Stygstra 3fdbb56465 Add option for DNS nameservers to quantum_subnet module 11 years ago
Ralph Bean a9a2a96218 Add a new unique_name param to the digital_ocean module for idempotence.
As it stands now, it is difficult to write idempotent tasks for digital
ocean droplets.  Digital ocean assigns new nodes a random id when they
are provisioned and that id is the only key that can be used to identify
it in subsequent runs of that play.

The workflow previously involved manual intervention:

- write a play defining a new node with no specified id
- run it, collect the randomly assigned id by hand
- modify the play to add the id by hand so future runs don't create
  duplicate nodes
- perform future re-runs that check if the node exists (by its id)
  - if it does exist then do nothing.
  - if it does not exist, then create it and return a *new random id*
  - collect the new random id by hand, modify the playbook file, and
    start all over.

Its a huge pain.

The modifications in this commit allow you to use the 'hostname' as a
primary key for idempotence with digital ocean.  By default, digital
ocean will let you create as many hosts with the same hostname as you
like.  Here, we provide an option to constrain the user to using only
unique hostnames.

The workflow will now look like:

- write a play defining a new node with a specified hostname and
  "unique_name: true""
- run it, create the new node and move on.
- re-run it, notice that a node with that hostname is already created
  and move on.
11 years ago
Ralph Bean 6ecf41530b Fix an example with a yaml syntax error. 11 years ago
Ralph Bean d782d91b80 Fix some "make pep8" errors in the digital_ocean module. 11 years ago
Ralph Bean a1ea15141e Remove trailing whitespace in digital ocean module. 11 years ago