Commit Graph

1231 Commits (d03e9540a69daaed3579e8218c32b8bed57ff462)

Author SHA1 Message Date
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.
10 years ago
Philip Misiowiec 71d1044b8b Adds tenancy state to returning json 10 years ago
Philip Misiowiec ad7f5abf28 Ability to detach an EBS volume from an EC2 instance 10 years ago
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.
10 years ago
Toshio Kuratomi 925c9ab42d Merge pull request #561 from weitzj/bugfix/docker-extra-params
Fixes invalid dictionary access.
10 years ago
Brian Coca 1e8abd2594 Merge pull request #562 from phips/fix_vsphere_folder
vsphere_guest fix for KeyError: folder message
10 years ago
Mark Phillips 8ede9de895 vsphere_guest fix for KeyError: folder message 10 years ago
Jan Weitz ebf9b8c6e2 Fixes invalid dictionary access. 10 years ago
Jan Weitz 82601fdc54 Fixes version check for docker-py 10 years ago
Brian Coca 62a53b1209 Merge pull request #541 from bcoca/cloudformation_china
update to use connect_to_region to avoid errors with china
10 years ago
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
10 years ago
Toshio Kuratomi c4f9366e91 Newstyle class 10 years ago
Toshio Kuratomi f65d9ab793 Make insecure_registry feature version check against the client API 10 years ago
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
10 years ago
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
10 years ago
Ingo Gottwald 80d45c78a3 Add support for new docker restart policies 10 years ago
Brian Coca d564569910 update to use connect_to_region to avoid errors with china 10 years ago
Brian Coca 8e5a849c66 Merge pull request #3 from atlashealth/ec2_vol_ssd_ebs
Ability to specify new SSD EBS option
10 years ago
Brian Coca 3ee8e2840f Merge pull request #6 from willthames/ec2_snapshot_remove
Added the ability to remove snapshots
10 years ago
Brian Coca 978204aaa2 Merge pull request #496 from haraldsk/devel
add support for stack policies in cloudformation
10 years ago
Kale Franz 73172fae47 #531 correction
correct list comprehension for older versions of python (back to python 2.4)
10 years ago
Kale Franz e174c9b474 fixes #529 ec2_group module bug 10 years ago
Toshio Kuratomi c853bb5a0f Merge pull request #518 from likwid/devel
Fixed formatting in cloudformation example
10 years ago
Toshio Kuratomi 51ed13b887 Fix documentation build 10 years ago
Brian Coca 4cfc8d6950 Merge pull request #72 from stewrutledge/vmtemplate
Added support for deploying virtual machine from a virtual template
10 years ago
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.
10 years ago
Mike Putnam 5c6f375c17 Type fix on delete_snapshot docs. 10 years ago
Toshio Kuratomi f4625a3dd1 Fixup the directory name at a higher level so it can be used by both conditional branches
Fixes #500
10 years ago
Matt Martz 7a6a30abbe Merge pull request #492 from sivel/rax-asg-improvements
Make a few enhancements to the rax_scaling_group module
10 years ago
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
10 years ago
Harri Hämäläinen b354423bae Fixed typo in comment 10 years ago
Harald Skoglund 5bc8d5b96e add support for stack policies in cloudformation 10 years ago
PikachuEXE 6ce7e63c5f ~ Add missing documentation for option `email` 10 years ago
Mike Putnam 55a51f4ca9 Clarify possible variable value in the docs. 10 years ago
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
10 years ago
Marcus Ahle ba5c36ce5a Preventing Nonetype is not iterable error when no tags are passed in for a newly created ASG 10 years ago
Ben Whaley cf24e7d56c vpc_zone_identifier should be a list as per the docs 10 years ago
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.
10 years ago
Toshio Kuratomi 5af4463823 Gixes to doc formatting 10 years ago
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
10 years ago
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'),
10 years ago
willthames b287e7c0a6 Added the ability to remove snapshots
Added state option, and accompanying snapshot_id option for
when state=absent.
10 years ago
Will Thames 565fa9a0ae Fixed tagging 10 years ago
Denver Janke 0edb9f51e8 Fix few bugs around renaming db instances. 10 years ago
Will Thames a1a6201b82 Improved error handling
More tests, particular for failure testing
10 years ago
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
10 years ago
Steve Fox c03ec202a7 retry_interval needs to be a float before passing to time.sleep 10 years ago
Michael DeHaan 9de0045d00 Remove potentially out of date or specific product references. 10 years ago
Michael DeHaan e7c92a6bc6 More EC2 doc tweaks 10 years ago
Michael DeHaan c6b0d469ac Misc EC2 doc tweaks. 10 years ago
Philip Misiowiec 59701feadb added version 10 years ago
Philip Misiowiec f5789e8eda Support for EC2 dedicated tenancy option 10 years ago
Philip Misiowiec c241e9dd9c added version 10 years ago
Philip Misiowiec b37a2328c0 Ability to specify new SSD EBS option 10 years ago
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"?
10 years ago
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
10 years ago
IndyMichaelB 5a628aacd4 docfix for vsphere_guest.py
Corrected parameter name from user to username in documentation
10 years ago
Sam Kottler 7b875dbda5 Remove trailing whitespace in digital_ocean_domain 10 years ago
Nejc Zupan 6f6eca5b4e digital ocean: Remove unsupported states 10 years ago
Toshio Kuratomi c6522620c5 Clean up the docker module just a little so that we can unittest the get_split_image_tag function 10 years ago
Robert Estelle 4dd099fe7a Remove incorrect executable permissions. 10 years ago
Adam Miller 01db13e3ad fix gce_net add firewall rule example 10 years ago
Stewart Rutledge 6d79518d67 Fixed a typo on power options 10 years ago
sterutkb 1dd20197b1 Added support for deploying virtual machine from a virtual template 10 years ago
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.
10 years ago
Brian Coca 3a967c8005 Merge pull request #290 from ctrlaltdel/devel
Fix a typo in nova_compute documentation string
10 years ago
Brian Coca 1622e3b2df Merge pull request #284 from borgified/devel
typo in comments: of -> or
10 years ago
James Cammarata a7749a8fce Merge pull request #309 from jsmartin/asg_fix_delete
asg will now be terminated if state=absent.
10 years ago
James Martin 341c7ce307 asg will now be terminated if state=absent.
adds mutually exclusive options
10 years ago
James Cammarata 710b7b9aba Merge pull request #308 from jsmartin/asg_orphaned_code
Removes orphaned code.
10 years ago
James Cammarata ae744f98d8 Serialize tag attributes to ASG properties in ec2_asg
Fixes #108
10 years ago
James Martin d5326e6dbd Removes orphaned code. 10 years ago
James Martin f287600e6c fixes #240, #274, #108 10 years ago
José Moreira 03cf57c6f0 Fixed small typo on ec2 task name 10 years ago
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'
10 years ago
Fwiffo 6cb8a5f312 typo in comments: of -> or 10 years ago
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.
10 years ago
Brian Coca 19ed60196c added __init__.py to new cloud subcategories so builds work again 10 years ago
Brian Coca 0c4adcb2c6 made subcategories for cloud modules for better organization 10 years ago
James Cammarata 3fe48db44f Fail in ec2 if exact_count is specified without using count_tag
Fixes ansible/ansible#9431
10 years ago
James Cammarata 30f46c9f8e Merge pull request #230 from lorin/ec2_snapshot_wait
ec2_snapshot: document wait, wait_timeout params
10 years ago
James Cammarata a5d0fac078 Merge pull request #219 from adamchainz/devel
Update syntax for cloudformation example
10 years ago
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.
10 years ago
Adam Chainz f4ca909d59 Update syntax for cloudformation example 10 years ago
Jaanus Torp 0a6561f5d4 Fixed really annoying omission in the example without the task would complete without errors or warnings but delete all egress rules 10 years ago
Matt Martz b8e82f8504 Merge pull request #115 from sivel/autoscale-more-args
rax_scaling_group module improvements
10 years ago
Matt Martz 7e3b7aff13 Merge pull request #116 from sivel/rax-skip-deleted
rax module: Don't count DELETED servers when adding new servers
10 years ago
Toshio Kuratomi 72185b4d9a Merge pull request #194 from rglew/devel
Fixed bug #193 where parameter name was set incorrectly
10 years ago
James Cammarata 3132463145 Merge pull request #187 from jorgebastida/devel
ec2_asg: Initialize create_changed and replace_changed
10 years ago
James Cammarata 47f11e87e3 Merge pull request #183 from sb98052/devel
Added user, tenant and password to module parameters declaration
10 years ago
Tim Gerla 044cef8419 Fix a typo of a function call 10 years ago
Richard Glew 043b38f2ef Fixed bug #193 where parameter name was set incorrectly 10 years ago
Jorge Bastida 9c5cdd6daf Initialize create_changed and replace_changed 10 years ago
Sapan Bhatia 8821091909 Added user, tenant and password to module parameters declaration --
these parameters are already handled by the implementation
10 years ago
Matt Martz 5dcc0ff0d9 Don't count DELETED servers when adding new servers 10 years ago
Matt Martz fbadfd5902 Fix determination if a few configurations change in the launch config 10 years ago
Matt Martz 924bff9481 Ensure that files is the right type, and that we send the formatted personality var 10 years ago
Matt Martz 0a399fd971 Support config_drive and user_data in rax_scaling_group 10 years ago
Phillip Holmes 7402827950 Route53 fix - forcing zone_in, record_in to lower case
Fixed the .tolower to .lower() for correct syntax (copied change from older notes).
10 years ago
Phillip Holmes b3e84f2dd4 Route53 fix - forcing zone_in, record_in to lower case
It turns out the Route53 API cares if the zone and record specified in the playbook are lower case or not when deleting a record. If you use a variable to name your servers and care about case, using that same proper case name will cause Route53 DNS delete requests to fail.

The change requested adds .lower() to the module.params.get for both zone and record when used in the underlying code.

Both zone and record are mandatory variables, and as such a more complicated implementation is not needed, as they must always be specified when using this module see lines 169 and 170 for the required state).

If you use lowercase names (or don't use a name variable and share it between a tag and DNS entries) then you will never see this issue.

Tested/Confirmed as an issue in Ansible 1.6.6 and above.
10 years ago