James Cammarata
657d9d1f25
Add private_zone parameter for route53
...
Fixes #473
2016-12-08 11:22:45 -05:00
Monty Taylor
411c7e22b6
Add deprecation notices for old OpenStack modules
2016-12-08 11:22:45 -05:00
Monty Taylor
7c9a36a999
Deprecate old OpenStack modules
...
There are a completely new set of modules that do all of the things like
keystone v3 and auth_plugins and the like correctly. Structurally
upgrading these would have been massively disruptive and there is no
real good way to do so without breaking people.
These modules should be kept around for several releases - they still
work for people - and they should get bug fixes. But they should not
take new features. New features should go to the os_ modules.
2016-12-08 11:22:45 -05:00
Brian Coca
5c90040626
undeprecated docker_image until replacement actually arives
2016-12-08 11:22:45 -05:00
Brian Coca
49c10e4359
now captures connection exceptions and returns in 'nicer' module failure
2016-12-08 11:22:44 -05:00
Coderah
0fbe26273d
add alias support to route53 module
2016-12-08 11:22:44 -05:00
Coderah
40c41ed4ec
add hosted_zone information to ec2_elb_lb return
2016-12-08 11:22:44 -05:00
Capi Etheriel
103caa2853
add ec2 instance tags and groups info
2016-12-08 11:22:44 -05:00
Joel Thompson
646657e325
Fixes issue 697 -- only purge the grants that need to be purged
2016-12-08 11:22:44 -05:00
Jorge-Rodriguez
ad9379ad7d
Added optional parameter scheduler_hints.
2016-12-08 11:22:44 -05:00
Bret Martin
ed3f1a133b
ec2: make group only match group names in this VPC
2016-12-08 11:22:43 -05:00
Edward
bad5aafd30
Fixes #816 Backups not enabled on new droplets.
...
Convert backups_enabled string to lowercase. Similar to fix for private
networking.
2016-12-08 11:22:43 -05:00
Brian Coca
70856d5228
fix instance=None documentation
2016-12-08 11:22:43 -05:00
Brian Coca
cd7f498755
Revert "Revert "Don't use 'tenancy' in ec2 spot requests""
2016-12-08 11:22:43 -05:00
Brian Coca
6e55a0324b
Revert "Don't use 'tenancy' in ec2 spot requests"
2016-12-08 11:22:43 -05:00
Matt Martz
8e4755728e
DRY up duplicate code
2016-12-08 11:22:43 -05:00
Matt Martz
cf50526cb5
Don't hardcode minimum for boot_volume_size
2016-12-08 11:22:43 -05:00
Sergey Zhukov
d013652dc7
Fixed broken volumes_from for client API >= 1.10
2016-12-08 11:22:43 -05:00
Marek Chodor
35ab6d15df
Fixes docker.errors.DockerException: 'dns' parameter has no effect on create_container(). It has been moved to start()
2016-12-08 11:22:43 -05:00
Matt Martz
724ae97898
Fix order of logic to determine required args
2016-12-08 11:22:43 -05:00
Richard Lander
a0dad8e683
password required
2016-12-08 11:22:43 -05:00
Richard Lander
f5532b7904
set network_config.public_ips attribute
2016-12-08 11:22:43 -05:00
Matt Martz
1f51a5effd
Add boot from volume functionality to rax and rax_cbs modules
2016-12-08 11:22:42 -05:00
Matt Martz
cce6cb8d7f
Don't hardcode a minimum size of a volume
2016-12-08 11:22:42 -05:00
mcameron
f799180a58
More general output.
2016-12-08 11:22:42 -05:00
mcameron
751e268f0d
Useful log output.
2016-12-08 11:22:42 -05:00
Robert Marsa
4737b41f26
Added the ability to set an instance to forward ip.
2016-12-08 11:22:42 -05:00
Matt Martz
a078a99fae
Support accounts with more than 100 load balancers
2016-12-08 11:22:42 -05:00
Doug Ellwanger
cc6cc6e302
Pull SSL certificate IDs from existing ELBs
2016-12-08 11:22:42 -05:00
Robert Marsa
bf3cb32c1b
Added target_tags to gce_module.
2016-12-08 11:22:41 -05:00
Tomer Paz
76ee9a6a04
resolve issue 764
...
https://github.com/ansible/ansible-modules-core/issues/764
added 'domainname' attribute in addition to existing 'hostname'.
That's the most elegant way to delegate domain name to docker-py...
2016-12-08 11:22:41 -05:00
moussa taifi
742c10a1a0
Adds the currently available instance types for azure to the available dict(choices.....
2016-12-08 11:22:41 -05:00
Luc Bourlier
ae97d76a12
Don't use 'tenancy' in ec2 spot requests
...
The problem was introduced in commit f5789e8e. 'tenancy' is a parameter of
ec2.run_instances, but not in ec2.request_spot_instances. So it was breaking
the support for spot requests.
2016-12-08 11:22:41 -05:00
Jean-Baptiste Barth
c0b2960892
Improve formatting after previous commit
2016-12-08 11:22:41 -05:00
Jean-Baptiste Barth
58ff9bece2
EC2: move logic about terminated instances up ( #423 )
...
As stated in #423 , the commit 7f11c3d broke ec2 spot instance launching
after 1.7.2. This is because it acts on the 'res' variable which have 2
different types in the method, and in case we request spot instances,
the resulting object is not a result of ec2.run_instances() but
ec2.request_spot_instances(). Actually this fix doesn't seem to be
relevant in the spot instances case, because by construction we won't
retrieve 'terminated' instances in the end.
2016-12-08 11:22:40 -05:00
Peter Mooshammer
d741b57b91
adding disk_type option to choose from pd-ssd or pd-standard
2016-12-08 11:22:40 -05:00
Brian Coca
b853ad6c90
corrected version added for latest features
2016-12-08 11:22:40 -05:00
Brian Coca
83e0516478
minor fixes on new rds refactor
2016-12-08 11:22:40 -05:00
Toshio Kuratomi
dd79a27e73
Spelling and grammar fix
2016-12-08 11:22:39 -05:00
Matt Martz
ff90273021
Remove unnecessary logic, return the database on delete
2016-12-08 11:22:39 -05:00
Brian Coca
f90da6b2ba
ec2 fix docs format
2016-12-08 11:22:39 -05:00
Brian Coca
ed0f5045eb
moved defaulting to module constant to after when it is defined
2016-12-08 11:22:39 -05:00
Brian Coca
1f1ebf248f
updated tenancy version added
2016-12-08 11:22:39 -05:00
Ryan Rawson
e318ef2d70
Fixes #581 - digitalocean module cannot create private_networking=true droplets
2016-12-08 11:22:39 -05:00
Alex Clifford
4097cbf317
ttl should always be used during a delete
2016-12-08 11:22:38 -05:00
Matt Martz
8b60fb7181
Remove unnecessary required arg logic, and remove 'absent' as a valid choice since it isn't implemented
2016-12-08 11:22:38 -05:00
Matt Martz
5ae50eb8cf
Small fix-ups to convert objects to dicts, update volume details at the appropriate time, and remove unnecessary required argument logic
2016-12-08 11:22:38 -05:00
Matt Martz
19d99e0da6
Remove some broken and unnecessary required args logic
2016-12-08 11:22:38 -05:00
Matt Martz
63e5d5dcc4
Use rax_to_dict and make sure to return the volume details after deletion
2016-12-08 11:22:38 -05:00
Brian Coca
02a1cb62df
corrected release when this feature was added
2016-12-08 11:22:38 -05:00
Matt Martz
3a46c79451
Clean up some required argument logic
2016-12-08 11:22:38 -05:00
Matt Martz
db5f2bf3df
Just use built in required functionality for arguments
2016-12-08 11:22:38 -05:00
Matt Martz
617048b717
It is not correct that you need at least 1 primary node
2016-12-08 11:22:38 -05:00
Toshio Kuratomi
f3d41cdb06
Potential fix for 640
2016-12-08 11:22:38 -05:00
Alex Clifford
d4c4dd31d8
Fix slight typo in doco
2016-12-08 11:22:37 -05:00
Brian Coca
c5dfc66cb1
added version added for new template options
2016-12-08 11:22:37 -05:00
Vasyl Kaigorodov
d41ec7027f
gce_net - creating firewall rule, src_range value seems to get lost or set to empty string -- fixes #252
2016-12-08 11:22:37 -05:00
James Martin
07dbc333b2
vpc_zone_identifier must be a csv string when an asg is updated.
2016-12-08 11:22:37 -05:00
Philip Misiowiec
f3abfa0f19
Adds tenancy state to returning json
2016-12-08 11:22:37 -05:00
Luís Guilherme F. Pereira
b347875de0
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.
2016-12-08 11:22:36 -05:00
Philip Misiowiec
c57c1ea419
added version
2016-12-08 11:22:35 -05:00
Phillip Holmes
0d3b144eb2
Route53 fix - forcing zone_in, record_in to lower case
...
Fixed the .tolower to .lower() for correct syntax (copied change from older notes).
2016-12-08 11:22:35 -05:00
Philip Misiowiec
23668e41b0
Support for EC2 dedicated tenancy option
2016-12-08 11:22:35 -05:00
Philip Misiowiec
d30881a461
Ability to detach an EBS volume from an EC2 instance
2016-12-08 11:22:35 -05:00
Lorin Hochstein
88d5f15025
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.
2016-12-08 11:22:35 -05:00
Jan Weitz
8146b45203
Fixes invalid dictionary access.
2016-12-08 11:22:35 -05:00
Mark Phillips
786aceb43b
vsphere_guest fix for KeyError: folder message
2016-12-08 11:22:34 -05:00
Jan Weitz
1b9d0c5987
Fixes version check for docker-py
2016-12-08 11:22:34 -05:00
Brian Coca
945909bf67
update to use connect_to_region to avoid errors with china
2016-12-08 11:22:34 -05:00
Toshio Kuratomi
d28cd02ab7
Newstyle class
2016-12-08 11:22:34 -05:00
Toshio Kuratomi
4aaba45e29
Make insecure_registry feature version check against the client API
2016-12-08 11:22:34 -05:00
Maksim Losev
807d964a48
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
2016-12-08 11:22:34 -05:00
Toshio Kuratomi
7b74e451d9
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
2016-12-08 11:22:33 -05:00
Will Thames
834c8d2f59
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
2016-12-08 11:22:33 -05:00
Ingo Gottwald
f88107bc9b
Add support for new docker restart policies
2016-12-08 11:22:33 -05:00
Kale Franz
7c8f0b99af
#531 correction
...
correct list comprehension for older versions of python (back to python 2.4)
2016-12-08 11:22:33 -05:00
Kale Franz
eac743dc39
fixes #529 ec2_group module bug
2016-12-08 11:22:33 -05:00
Jeff Gonzalez
8eedd915cd
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.
2016-12-08 11:22:33 -05:00
Mike Putnam
d2d0ffd83a
Type fix on delete_snapshot docs.
2016-12-08 11:22:32 -05:00
Toshio Kuratomi
37f237ecfc
Fixup the directory name at a higher level so it can be used by both conditional branches
...
Fixes #500
2016-12-08 11:22:32 -05:00
Harald Skoglund
1a8b9b8935
add support for stack policies in cloudformation
2016-12-08 11:22:32 -05:00
Harri Hämäläinen
299d28f7e5
Fixed typo in comment
2016-12-08 11:22:32 -05:00
Matt Martz
411e4cfae8
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
2016-12-08 11:22:32 -05:00
PikachuEXE
fbba80d72e
~ Add missing documentation for option email
2016-12-08 11:22:32 -05:00
Mike Putnam
1de5248a0a
Clarify possible variable value in the docs.
2016-12-08 11:22:32 -05:00
Marcus Ahle
a71b1b7385
Preventing Nonetype is not iterable error when no tags are passed in for a newly created ASG
2016-12-08 11:22:31 -05:00
Ben Whaley
6609ebde27
vpc_zone_identifier should be a list as per the docs
2016-12-08 11:22:31 -05:00
Scott Miller
c49a20b0e5
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.
2016-12-08 11:22:31 -05:00
Toshio Kuratomi
cd7cc07e85
Gixes to doc formatting
2016-12-08 11:22:31 -05:00
Francois Deppierraz
181c3aa25f
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'),
2016-12-08 11:22:31 -05:00
Steve Fox
7af1c96623
retry_interval needs to be a float before passing to time.sleep
2016-12-08 11:22:31 -05:00
Stewart Rutledge
0f1bf6c8c1
Fixed a typo on power options
2016-12-08 11:22:30 -05:00
sterutkb
944ce9c7c3
Added support for deploying virtual machine from a virtual template
2016-12-08 11:22:30 -05:00
Philip Misiowiec
3f4d412bff
Ability to specify new SSD EBS option
2016-12-08 11:22:30 -05:00
Will Thames
63656e5ef7
Fixed tagging
2016-12-08 11:22:30 -05:00
Denver Janke
61cfccff1c
Fix few bugs around renaming db instances.
2016-12-08 11:22:30 -05:00
Will Thames
daac0e3a3e
Improved error handling
...
More tests, particular for failure testing
2016-12-08 11:22:30 -05:00
Will Thames
22a3b3f811
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
2016-12-08 11:22:29 -05:00
willthames
ef88ff6dd8
Added the ability to remove snapshots
...
Added state option, and accompanying snapshot_id option for
when state=absent.
2016-12-08 11:22:29 -05:00
Michael DeHaan
f875cc5197
Remove potentially out of date or specific product references.
2016-12-08 11:22:29 -05:00
Michael DeHaan
76efaa6cfb
More EC2 doc tweaks
2016-12-08 11:22:29 -05:00
Michael DeHaan
590d20db24
Misc EC2 doc tweaks.
2016-12-08 11:22:29 -05:00
follower
4889701874
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"?
2016-12-08 11:22:28 -05:00
IndyMichaelB
07d4ddfeff
docfix for vsphere_guest.py
...
Corrected parameter name from user to username in documentation
2016-12-08 11:22:27 -05:00
Sam Kottler
bb9c7acc2f
Remove trailing whitespace in digital_ocean_domain
2016-12-08 11:22:27 -05:00
Nejc Zupan
442c8a5457
digital ocean: Remove unsupported states
2016-12-08 11:22:27 -05:00
Toshio Kuratomi
9472a27345
Clean up the docker module just a little so that we can unittest the get_split_image_tag function
2016-12-08 11:22:27 -05:00
Robert Estelle
4e2d05b1f3
Remove incorrect executable permissions.
2016-12-08 11:22:26 -05:00
Adam Miller
c707107e1b
fix gce_net add firewall rule example
2016-12-08 11:22:26 -05:00
John Batty
dd78dde449
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.
2016-12-08 11:22:26 -05:00
James Martin
dd46f7275f
asg will now be terminated if state=absent.
...
adds mutually exclusive options
2016-12-08 11:22:26 -05:00
James Cammarata
e9fbb5f1b6
Serialize tag attributes to ASG properties in ec2_asg
...
Fixes #108
2016-12-08 11:22:26 -05:00
James Martin
f59a1348ad
Removes orphaned code.
2016-12-08 11:22:26 -05:00
James Martin
17cd9d18b0
fixes #240 , #274 , #108
2016-12-08 11:22:26 -05:00
José Moreira
82450c6811
Fixed small typo on ec2 task name
2016-12-08 11:22:25 -05:00
Francois Deppierraz
9620346c36
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'
2016-12-08 11:22:25 -05:00
Fwiffo
64e07acb19
typo in comments: of -> or
2016-12-08 11:22:25 -05:00
Michael DeHaan
98fdc389d0
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.
2016-12-08 11:22:25 -05:00
Brian Coca
5a467bc72c
added __init__.py to new cloud subcategories so builds work again
2016-12-08 11:22:25 -05:00
Brian Coca
32e85c0944
made subcategories for cloud modules for better organization
2016-12-08 11:22:24 -05:00
James Cammarata
bb9433f198
Fail in ec2 if exact_count is specified without using count_tag
...
Fixes ansible/ansible#9431
2016-12-08 11:22:24 -05:00
Lorin Hochstein
5c06bb6dca
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.
2016-12-08 11:22:24 -05:00
Adam Chainz
dddc5ffd2c
Update syntax for cloudformation example
2016-12-08 11:22:24 -05:00
Jaanus Torp
7be83dc844
Fixed really annoying omission in the example without the task would complete without errors or warnings but delete all egress rules
2016-12-08 11:22:24 -05:00
Tim Gerla
26698246c3
Fix a typo of a function call
2016-12-08 11:22:24 -05:00
Richard Glew
dac24deeb4
Fixed bug #193 where parameter name was set incorrectly
2016-12-08 11:22:24 -05:00
Jorge Bastida
d82bfcb75f
Initialize create_changed and replace_changed
2016-12-08 11:22:24 -05:00
Sapan Bhatia
d492544714
Added user, tenant and password to module parameters declaration -- these parameters are already handled by the implementation
2016-12-08 11:22:24 -05:00
Matt Martz
cce5b600c0
Don't count DELETED servers when adding new servers
2016-12-08 11:22:23 -05:00
Matt Martz
6a6faeb506
Fix determination if a few configurations change in the launch config
2016-12-08 11:22:23 -05:00
Matt Martz
e905162571
Ensure that files is the right type, and that we send the formatted personality var
2016-12-08 11:22:23 -05:00
Matt Martz
591ba934c3
Support config_drive and user_data in rax_scaling_group
2016-12-08 11:22:23 -05:00
Michael DeHaan
ef2a2b9093
package files
2016-12-08 11:22:22 -05:00
Michael DeHaan
213e518165
file extensions!
2016-12-08 11:22:22 -05:00
Michael DeHaan
c7eec45b73
Restructuring.
2016-12-08 11:22:22 -05:00