Commit graph

342 commits

Author SHA1 Message Date
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.
2013-11-16 23:15:03 +02:00
Matt Martz
1ef49405b3 Remove debug print statement 2013-11-15 19:52:10 -06:00
jctanner
7ebda819b5 Merge pull request #4919 from sivel/4577-rax-refactor
Refactor rax module. Fixes #4577
2013-11-15 12:20:13 -08:00
Matt Martz
234a78673b Refactor rax module 2013-11-15 12:25:21 -06:00
Matt Martz
fa4e55d677 follow suit with the rax refactor and split out the slugify code 2013-11-15 12:00:32 -06:00
Matt Martz
545aabaddc Add rax_facts module for retrieving facts about a Cloud Server 2013-11-15 11:12:48 -06:00
James Tanner
d0986a20a3 Use shared ec2 module snippet in elasticache module 2013-11-13 10:24:08 -05:00
James Tanner
fd6b16aca8 Merge pull request #4313 from jsdalton/ansible
Add AWS ElastiCache module
2013-11-13 10:15:51 -05:00
James Tanner
a8c531a2f6 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
a5c29b886e Merge pull request #4299 from psvo/ansible
Fix check for ROLLBACK_COMPLETE in cloudformation module
2013-11-13 10:03:09 -05:00
jctanner
deb33e9d0e 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
0ecc83fe98 Change route53 module to use shared ec2 authorization module snippet 2013-11-12 14:16:30 -05:00
James Tanner
fb903c5317 Change s3 module to use shared ec2 authorization module snippet 2013-11-12 14:13:05 -05:00
James Tanner
06eb7357fd Remove redundant credential code in vpc module 2013-11-12 14:10:38 -05:00
James Tanner
8332a0b75e Change vpc module to use shared ec2 authorization moudle snippet 2013-11-12 14:09:06 -05:00
James Tanner
b37a8b90a6 Fix docstring quoting in vpc module 2013-11-12 14:02:50 -05:00
jctanner
7fdeed6539 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
0a34870b1f 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
fe95745a20 Correcting the security group id lookup from the list of security group names 2013-11-08 17:46:41 -05:00
Matt Martz
a897bb389c Remove unused variable 2013-11-08 13:15:38 -06:00
Matt Martz
8f2f8a5b53 DRY up dict conversion and fix serialization error 2013-11-08 13:11:15 -06:00
jctanner
8e8c8efc8f 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
6a5672c997 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
2065253c3e Rename rax_clb to rax_clb_nodes in docs and examples 2013-11-07 12:56:59 -06:00
jctanner
e36781dace Merge pull request #4603 from claco/rax_network_module
Add rax_network module
2013-11-07 10:49:06 -08:00
Matt Martz
9d684c9e8e 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
772fbb8d0a Updates to rax_clb module 2013-11-07 10:42:15 -06:00
Christopher H. Laco
0be54b5585 Added replacement rax_clb that does LB detailed creation 2013-11-07 10:42:15 -06:00
Christopher H. Laco
6a964496b1 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
277dda5373 Merge pull request #4489 from cove/devel
add docker module
2013-11-07 07:00:23 -08:00
jctanner
31b5b66eb1 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
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
2013-11-06 12:36:47 -06:00
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
2013-11-06 12:36:46 -06:00
jctanner
15a9f7700f 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
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.
2013-11-05 16:20:20 -05:00
dragon3
e54832a730 Remove duplicate "download_s3file" execution when the destination path doesn't exist 2013-11-05 22:03:40 +09:00
Cove Schneider
1ea17dee11 Fixes from docker-ansible, update license to be same as other modules 2013-11-03 12:48:03 -08:00
Mohan Krishnan
56bd9a14d5 Fix for connect method parameter order 2013-11-03 14:48:35 +07:00
Mohan Krishnan
0ae9128c7b ec2_eip connect method references module var that is not passed in 2013-11-03 05:18:27 +07:00
James Laska
2a5874b94f Honor wait on ec2 instance termination 2013-11-01 18:57:20 -04:00
Michael DeHaan
e725eea4be 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
afa5988391 Fixes #4540 Use shared module snippet to evaluate ec2 credentials 2013-11-01 11:59:24 -04:00
dragon3
19b5008c0a return volume_id/device even when volume mapping already exists 2013-11-01 23:59:42 +09:00
Alan Fairless
0824f004d9 Revised patch for more password entropy 2013-11-01 09:51:35 -05:00
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..."
2013-10-31 17:00:03 -07:00
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. 2013-10-31 18:46:13 -04:00
Michael DeHaan
aae3a0ea8d 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
6a02c75b7c 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
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'
2013-10-30 22:41:02 -07:00
kiri
c1c32c75ac add NoneType check. 2013-10-28 21:35:57 +09:00