Commit graph

1241 commits

Author SHA1 Message Date
Matt Martz
b2fd4d18e0 It is not correct that you need at least 1 primary node 2015-01-15 19:20:36 -06:00
Toshio Kuratomi
6cbce4d911 Potential fix for 640 2015-01-13 22:39:20 -08:00
Alex Clifford
d2ae2e6cc6 Fix slight typo in doco 2015-01-14 12:12:02 +11:00
Brian Coca
7fc142cc13 Merge pull request #634 from br0ziliy/fix-gce-net-src-tags-param-parsing
gce_net - creating firewall rule, src_range value seems to get lost or set to empty string
2015-01-13 11:10:36 -05:00
Brian Coca
0edfdca58b Merge pull request #105 from luisguilherme/devel
ec2_lc does not create valid launch configuration for EC2-Classic
2015-01-13 11:04:21 -05:00
Michael DeHaan
d3297dc8a8 Merge pull request #598 from jsmartin/fix_asg_zone_identifier
vpc_zone_identifier must be a csv string when an asg is updated.
2015-01-08 13:46:16 -05:00
James Martin
242aa9f81b vpc_zone_identifier must be a csv string when an asg is updated. 2015-01-07 14:39:28 -05:00
Toshio Kuratomi
1ca8b42770 Merge pull request #599 from bcoca/vmware_template_version
added version added for new template options
2015-01-06 13:38:18 -08:00
Brian Coca
53404c786a added version added for new template options 2015-01-06 16:06:45 -05:00
Vasyl Kaigorodov
c1eb7a4c1d gce_net - creating firewall rule, src_range value seems to get lost or set to empty string -- fixes #252 2015-01-06 20:44:09 +01:00
Luís Guilherme F. Pereira
cfda942376 Allow ec2_lc to create EC2-Classic Launch Configs
Removes default value from ec2_lc so it can create launch configurations valid on a EC2-Classic environment. AWS API will not accept a assign_public_ip when creating an ASG outside of VPC.
2015-01-06 09:30:44 -02:00
Philip Misiowiec
71d1044b8b Adds tenancy state to returning json 2014-12-31 00:45:57 -08:00
Philip Misiowiec
ad7f5abf28 Ability to detach an EBS volume from an EC2 instance 2014-12-30 23:17:49 -08:00
Lorin Hochstein
3665c92856 docker: fix volume[s]_from typo
Code makes reference to volume_from instead of volumes_from. If volumes_from is
passed as an argument, generates a KeyError.
2014-12-25 23:31:06 -05:00
Toshio Kuratomi
925c9ab42d Merge pull request #561 from weitzj/bugfix/docker-extra-params
Fixes invalid dictionary access.
2014-12-24 14:58:57 -08:00
Brian Coca
1e8abd2594 Merge pull request #562 from phips/fix_vsphere_folder
vsphere_guest fix for KeyError: folder message
2014-12-24 08:52:22 -05:00
Mark Phillips
8ede9de895 vsphere_guest fix for KeyError: folder message 2014-12-24 12:39:48 +00:00
Jan Weitz
ebf9b8c6e2 Fixes invalid dictionary access. 2014-12-24 13:15:40 +01:00
Jan Weitz
82601fdc54 Fixes version check for docker-py 2014-12-24 03:04:04 +01:00
Brian Coca
62a53b1209 Merge pull request #541 from bcoca/cloudformation_china
update to use connect_to_region to avoid errors with china
2014-12-23 13:40:49 -05:00
Brian Coca
0ab5682b87 Merge pull request #260 from willthames/aws_frankfurt
Added better region handling and enabled eu-central-1, leaving centralizing the list on these modules to a subsequent patch
2014-12-22 08:47:27 -05:00
Toshio Kuratomi
c4f9366e91 Newstyle class 2014-12-18 13:43:55 -08:00
Toshio Kuratomi
f65d9ab793 Make insecure_registry feature version check against the client API 2014-12-18 12:45:13 -08:00
Maksim Losev
4172d445d3 Add insecure_registry to docker-py pull method
Starting from docker-py>=0.5.0 it is impossible to work with private registries based on HTTP.
So we need additional parameter to allow pull from insecure registry
Related to ansible/ansible#9111
2014-12-18 12:36:17 -08:00
Toshio Kuratomi
fa0fa9d221 Make docker ver checks issue failures rather than silently ignoring
Also:
* make client version checks robust for two digit version pieces and
  alpha versions
* consolidate version checking code
2014-12-18 11:23:44 -08:00
Ingo Gottwald
80d45c78a3 Add support for new docker restart policies 2014-12-18 10:27:53 +01:00
Brian Coca
d564569910 update to use connect_to_region to avoid errors with china 2014-12-17 19:55:54 -05:00
Brian Coca
8e5a849c66 Merge pull request #3 from atlashealth/ec2_vol_ssd_ebs
Ability to specify new SSD EBS option
2014-12-17 19:08:41 -05:00
Brian Coca
3ee8e2840f Merge pull request #6 from willthames/ec2_snapshot_remove
Added the ability to remove snapshots
2014-12-17 17:28:47 -05:00
Brian Coca
978204aaa2 Merge pull request #496 from haraldsk/devel
add support for stack policies in cloudformation
2014-12-17 16:46:56 -05:00
Kale Franz
73172fae47 #531 correction
correct list comprehension for older versions of python (back to python 2.4)
2014-12-17 09:01:50 -08:00
Kale Franz
e174c9b474 fixes #529 ec2_group module bug 2014-12-17 03:34:47 -08:00
Toshio Kuratomi
c853bb5a0f Merge pull request #518 from likwid/devel
Fixed formatting in cloudformation example
2014-12-16 23:18:01 -08:00
Toshio Kuratomi
51ed13b887 Fix documentation build 2014-12-16 11:50:41 -08:00
Brian Coca
4cfc8d6950 Merge pull request #72 from stewrutledge/vmtemplate
Added support for deploying virtual machine from a virtual template
2014-12-15 20:01:54 -05:00
Jeff Gonzalez
369eeb2666 Fixed formatting in documentation
The example was using mixed shorthand and long form yaml (region: "us-east-1 disable_rollback=true"

I modified the entire example to be long form.
2014-12-15 10:18:31 -06:00
Mike Putnam
5c6f375c17 Type fix on delete_snapshot docs. 2014-12-12 13:29:51 -06:00
Toshio Kuratomi
f4625a3dd1 Fixup the directory name at a higher level so it can be used by both conditional branches
Fixes #500
2014-12-12 11:23:17 -08:00
Matt Martz
7a6a30abbe Merge pull request #492 from sivel/rax-asg-improvements
Make a few enhancements to the rax_scaling_group module
2014-12-11 12:59:16 -06:00
Matt Martz
9eb2bff946 Make a few enhancements to the rax_scaling_group module
* Cast loadbalancer id and port to integers
* Do not attempt to base64 encode NoneType values
2014-12-11 12:58:12 -06:00
Harri Hämäläinen
b354423bae Fixed typo in comment 2014-12-11 18:59:42 +02:00
Harald Skoglund
5bc8d5b96e add support for stack policies in cloudformation 2014-12-11 16:41:25 +01:00
PikachuEXE
6ce7e63c5f ~ Add missing documentation for option email 2014-12-10 10:23:59 +08:00
Mike Putnam
55a51f4ca9 Clarify possible variable value in the docs. 2014-12-09 10:09:05 -06:00
Michael DeHaan
95aa8481b2 Merge pull request #466 from marcus-ahle/devel
Preventing Nonetype is not iterable error when no tags are set for new ASG
2014-12-08 14:26:16 -08:00
Marcus Ahle
ba5c36ce5a Preventing Nonetype is not iterable error when no tags are passed in for a newly created ASG 2014-12-08 12:55:27 -05:00
Ben Whaley
cf24e7d56c vpc_zone_identifier should be a list as per the docs 2014-12-05 18:04:16 -08:00
Scott Miller
53afd359f6 fix documentation
AWS does not recognize the subnet if it is presented in a comma delimited format with spaces. you must remove the space for Amazon to recognize the second subnet.
2014-12-03 11:45:42 -05:00
Toshio Kuratomi
5af4463823 Gixes to doc formatting 2014-12-03 08:17:15 -08:00
Brian Coca
71224c8678 Merge pull request #420 from drfickle/route53_float_fix
route53 module retry_interval needs to be a float before passing to time.sleep
2014-12-03 11:10:32 -05:00
Francois Deppierraz
f69a7553f7 Fix auto_floating_ip documentation
The default value is 'no' instead of the currently documented 'yes'.

See cloud/openstack/nova_compute.py line 543:

        auto_floating_ip                = dict(default=False, type='bool'),
2014-12-03 16:06:50 +01:00
willthames
b287e7c0a6 Added the ability to remove snapshots
Added state option, and accompanying snapshot_id option for
when state=absent.
2014-12-02 11:18:53 +10:00
Will Thames
565fa9a0ae Fixed tagging 2014-12-02 11:12:40 +10:00
Denver Janke
0edb9f51e8 Fix few bugs around renaming db instances. 2014-12-02 11:11:30 +10:00
Will Thames
a1a6201b82 Improved error handling
More tests, particular for failure testing
2014-12-02 11:11:30 +10:00
Will Thames
7a8586c53c RDS rewrite to use boto.rds and boto.rds2
Using rds2 allows tags and the control over whether or not DBs are
publicly accessible.
Move RDS towards a pair of interfaces implementing the details of rds
and rds2
Added tests to ensure that all operations work correctly as well as
requirements files that allow virtualenvs to test either boto.rds or
boto.rds2
2014-12-02 11:11:30 +10:00
Steve Fox
c03ec202a7 retry_interval needs to be a float before passing to time.sleep 2014-12-01 14:21:52 -06:00
Michael DeHaan
9de0045d00 Remove potentially out of date or specific product references. 2014-12-01 15:16:22 -05:00
Michael DeHaan
e7c92a6bc6 More EC2 doc tweaks 2014-12-01 15:14:57 -05:00
Michael DeHaan
c6b0d469ac Misc EC2 doc tweaks. 2014-12-01 14:46:07 -05:00
Philip Misiowiec
59701feadb added version 2014-12-01 10:55:22 -08:00
Philip Misiowiec
f5789e8eda Support for EC2 dedicated tenancy option 2014-12-01 10:55:22 -08:00
Philip Misiowiec
c241e9dd9c added version 2014-12-01 10:52:22 -08:00
Philip Misiowiec
b37a2328c0 Ability to specify new SSD EBS option 2014-12-01 10:52:22 -08:00
follower
a6e0d9d613 Fix typo of "rules_egress"
Or is "rules_egree" supposed to be a plural? The sentence is difficult to parse.

Maybe the correct fix is to "Purge existing rules on security group that are not found in rules_egress"?
2014-11-29 18:05:22 +13:00
Will Thames
30c7f9a7d3 Added better region handling and enabled eu-central-1
Make use of improved connect_to_aws that throws an exception
if a region can't be connected to (e.g. eu-central-1 requires
boto 2.34 onwards)

Add eu-central-1 to the two modules that hardcode their regions
Add us-gov-west-1 to ec2_ami_search to match documentation!
This pull request makes use of the changes in ansible/ansible#9419
2014-11-22 11:35:46 +10:00
IndyMichaelB
5a628aacd4 docfix for vsphere_guest.py
Corrected parameter name from user to username in documentation
2014-11-16 16:59:57 -05:00
Sam Kottler
7b875dbda5 Remove trailing whitespace in digital_ocean_domain 2014-11-15 16:21:07 -05:00
Nejc Zupan
6f6eca5b4e digital ocean: Remove unsupported states 2014-11-15 16:12:46 -05:00
Toshio Kuratomi
c6522620c5 Clean up the docker module just a little so that we can unittest the get_split_image_tag function 2014-11-14 08:46:32 -08:00
Robert Estelle
4dd099fe7a Remove incorrect executable permissions. 2014-11-13 18:08:48 -05:00
Adam Miller
01db13e3ad fix gce_net add firewall rule example 2014-11-13 15:27:10 -06:00
Stewart Rutledge
6d79518d67 Fixed a typo on power options 2014-11-13 22:01:26 +01:00
sterutkb
1dd20197b1 Added support for deploying virtual machine from a virtual template 2014-11-13 22:00:57 +01:00
John Batty
08b2752080 Fix get_flavor_id() when flavor_ram is specified
Without this fix, _get_flavor_id() fails to find a matching flavor if
both:
* the flavor_ram parameter is specified
* the first flavor in the list does not match.

The bug is simply that the module.fail_json() call lies within the loop
iterating through the flavors.  This call should only be made if the
loop completes and no matching flavors have been found.
2014-11-13 13:26:20 +00:00
Brian Coca
3a967c8005 Merge pull request #290 from ctrlaltdel/devel
Fix a typo in nova_compute documentation string
2014-11-12 16:33:57 -05:00
Brian Coca
1622e3b2df Merge pull request #284 from borgified/devel
typo in comments: of -> or
2014-11-12 16:33:20 -05:00
James Cammarata
a7749a8fce Merge pull request #309 from jsmartin/asg_fix_delete
asg will now be terminated if state=absent.
2014-11-12 13:16:49 -06:00
James Martin
341c7ce307 asg will now be terminated if state=absent.
adds mutually exclusive options
2014-11-12 12:44:03 -05:00
James Cammarata
710b7b9aba Merge pull request #308 from jsmartin/asg_orphaned_code
Removes orphaned code.
2014-11-12 11:16:06 -06:00
James Cammarata
ae744f98d8 Serialize tag attributes to ASG properties in ec2_asg
Fixes #108
2014-11-12 11:04:43 -06:00
James Martin
d5326e6dbd Removes orphaned code. 2014-11-12 11:48:06 -05:00
James Martin
f287600e6c fixes #240, #274, #108 2014-11-11 19:47:34 -05:00
José Moreira
03cf57c6f0 Fixed small typo on ec2 task name 2014-11-10 11:24:31 +00:00
Francois Deppierraz
2dee52616d Fix a typo in nova_compute documentation string
Without this patch, ansible-doc was failing this way:

$ ansible-doc nova_compute
Traceback (most recent call last):
  File "/home/francois/WORK/dev/ansible/bin/ansible-doc", line 324, in <module>
    main()
  File "/home/francois/WORK/dev/ansible/bin/ansible-doc", line 316, in main
    text += get_man_text(doc)
  File "/home/francois/WORK/dev/ansible/bin/ansible-doc", line 112, in get_man_text
    desc = " ".join(opt['description'])
KeyError: 'description'
2014-11-10 09:30:29 +01:00
Fwiffo
6cb8a5f312 typo in comments: of -> or 2014-11-07 15:20:49 -08:00
Michael DeHaan
2970b339eb Deprecate docker_image, use the docker module to deploy docker images, or shell out to docker to call
docker build if you want from a playbook.
2014-11-05 16:13:55 -05:00
Brian Coca
19ed60196c added __init__.py to new cloud subcategories so builds work again 2014-11-05 11:07:19 -05:00
Brian Coca
0c4adcb2c6 made subcategories for cloud modules for better organization 2014-11-04 11:18:09 -05:00
James Cammarata
3fe48db44f Fail in ec2 if exact_count is specified without using count_tag
Fixes ansible/ansible#9431
2014-11-03 09:43:26 -06:00
James Cammarata
30f46c9f8e Merge pull request #230 from lorin/ec2_snapshot_wait
ec2_snapshot: document wait, wait_timeout params
2014-10-27 11:10:09 -05:00
James Cammarata
a5d0fac078 Merge pull request #219 from adamchainz/devel
Update syntax for cloudformation example
2014-10-27 10:55:44 -05:00
Lorin Hochstein
142fd9b06d ec2_snapshot: document wait, wait_timeout params
Document the wait and wait_timeout params for ec2_snapshot.

This is important because snapshots can take a long time to complete,
and the module defaults to wait=yes.
2014-10-26 16:26:33 -04:00
Adam Chainz
f4ca909d59 Update syntax for cloudformation example 2014-10-23 17:23:24 +01:00
Jaanus Torp
0a6561f5d4 Fixed really annoying omission in the example without the task would complete without errors or warnings but delete all egress rules 2014-10-23 13:19:23 +01:00
Matt Martz
b8e82f8504 Merge pull request #115 from sivel/autoscale-more-args
rax_scaling_group module improvements
2014-10-22 12:27:15 -05:00
Matt Martz
7e3b7aff13 Merge pull request #116 from sivel/rax-skip-deleted
rax module: Don't count DELETED servers when adding new servers
2014-10-22 12:25:25 -05:00
Toshio Kuratomi
72185b4d9a Merge pull request #194 from rglew/devel
Fixed bug #193 where parameter name was set incorrectly
2014-10-22 11:29:07 -04:00
James Cammarata
3132463145 Merge pull request #187 from jorgebastida/devel
ec2_asg: Initialize create_changed and replace_changed
2014-10-21 22:48:08 -05:00
James Cammarata
47f11e87e3 Merge pull request #183 from sb98052/devel
Added user, tenant and password to module parameters declaration
2014-10-21 22:36:19 -05:00