Jirayut 'Dear' Nimsaeng
d373e0a7c4
Fix volume to support not binding volumes to host
2016-12-08 11:24:33 -05:00
Anton Simernia
1aa1b617f5
Update gc_storage.py ( #3802 )
2016-12-08 11:24:33 -05:00
chouseknecht
96192ead02
Remove debug/register from examples.
2016-12-08 11:24:33 -05:00
chouseknecht
3d0d14c5ff
Fix network comparison. Fix handling of links. Updated doc strings. Added more examples.
2016-12-08 11:24:33 -05:00
chouseknecht
a4bd558240
Set version added to 2.2 so that tests pass
2016-12-08 11:24:32 -05:00
chouseknecht
e398efb04f
For new options move vesion_added to 2.1.1
2016-12-08 11:24:32 -05:00
chouseknecht
c8f63e867a
Fixed bug in _get_network_id
2016-12-08 11:24:32 -05:00
chouseknecht
a9ddb5023d
Fix doc strings.
2016-12-08 11:24:32 -05:00
chouseknecht
1d327a23cd
Fixed issues post testing.
2016-12-08 11:24:32 -05:00
chouseknecht
39bfb136a7
First pass at implementing networks parameter. Also added purge_networks option to remove container from networks not included in networks param.
2016-12-08 11:24:32 -05:00
chouseknecht
f3c33ee35f
Fix for 3768 - adding support for env_file
2016-12-08 11:24:32 -05:00
chouseknecht
2016911e64
Check self.parameters.env exists.
2016-12-08 11:24:32 -05:00
chouseknecht
bc665fca9c
Fix for issue #3775 - env config comparison
2016-12-08 11:24:32 -05:00
chouseknecht
65e71d8960
Update restart_policy doc strings.
2016-12-08 11:24:32 -05:00
chouseknecht
b5666c0f1c
Fix restart_poicy
2016-12-08 11:24:32 -05:00
chouseknecht
8f9ef1213d
Fix for #3783 - command returns not found or does not exist.
2016-12-08 11:24:32 -05:00
Dan Schmidt
c8ec843ac2
Fix "ansbile_facts" typo in docker_container module
2016-12-08 11:24:32 -05:00
David Fischer
adec050165
Add MariaDB to valid RDS engines ( #3337 )
...
* Add MariaDB to valid RDS engines
* Update RDS module documentation
2016-12-08 11:24:32 -05:00
Ghe Rivero
3ae6583510
Make add ip_floating_ip idempotent
...
Closes issue #1858
2016-12-08 11:24:31 -05:00
chouseknecht
0c5eac4243
Fix missing key error when updating existing virtual network.
2016-12-08 11:24:31 -05:00
Roberto Bampi
375884464e
Add an example for SRV record in route53 ( #3749 )
2016-12-08 11:24:31 -05:00
chouseknecht
d0da544aef
Fix for issue 3740. Make docker_service more resilient when targeting older API versions.
2016-12-08 11:24:31 -05:00
Brian Coca
f6690828af
deprecated docker ( #3710 )
...
* deprecated docker
* updated formatting
2016-12-08 11:24:31 -05:00
Alvaro Aleman
2f2f80ad4c
Fix can_update test in os_subnet ( #3664 )
2016-12-08 11:24:31 -05:00
René Moser
5fc7bc45ac
Add no_gateway_ip option to os_subnet module ( #3736 )
...
no_gateway_ip option can provide subnet that is not having a gateway.
fixes #1880
2016-12-08 11:24:31 -05:00
Doug Luce
9167abdd10
Fix S3 unavailable region error
...
This is to address this error:
fatal: [site]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to connect to S3: Region does not seem to be available for awsmodule boto.s3. If the region definitely exists, you may need to upgrade boto or extend with endpoints_path"}
Commit 0dd58e9 changed the logic so an exception is thrown (by
`connect_to_aws`) before the `s3 is None` check is performed. This
changes the `None` check to a catch so the old logic can compensate.
2016-12-08 11:24:30 -05:00
Michael Scherer
d519fca04b
Port vsphere_guest to py3/py2.4 syntax ( #3721 )
2016-12-08 11:24:30 -05:00
Kenny Woodson
cd09aab9b4
Unindenting the delete to user ( #3147 )
2016-12-08 11:24:30 -05:00
Ryan Brown
962a446238
Allow users to pick AWS Aurora as an RDS engine ( #3414 )
...
Per the [RDS docs](http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html ),
add `aurora` as a valid DB engine.
2016-12-08 11:24:30 -05:00
Nathan Brown
c053fa5378
Do not expect the elb to have policies or instances. Fixes #3593 ( #3595 )
2016-12-08 11:24:30 -05:00
kwerey
963cb64337
Add option to make RDS param groups for the MySQL 5.7 engine family. ( #3695 )
2016-12-08 11:24:30 -05:00
Lloyd Hazlett
20e86d1062
Add path type to argument_spec where applicable ( #3040 )
2016-12-08 11:24:30 -05:00
Matt Martz
a2d94c85e9
2 Module fixes ( #3611 )
...
* Fix syntax error in azure_rm_virtualmachine.py
* Allow rhn_register to fail gracefully when rhn-client-tools is not installed
2016-12-08 11:24:30 -05:00
Toshio Kuratomi
7d9fb08e1a
Py3 exclude list ( #3698 )
...
* Fix a few modules to pass syntax checks under python3
* Move from a whitelist of modules to check for python3 compat to a blacklist
2016-12-08 11:24:29 -05:00
Cheuk Lam
a2ff7fc7ea
Added support for accepting extra config options in vm reconfiguration. ( #3327 )
2016-12-08 11:24:29 -05:00
chouseknecht
afc8c42e57
Fixed the URL in description. It's now valid Yaml.
2016-12-08 11:24:29 -05:00
chouseknecht
f14d675d2a
Remove the U().
2016-12-08 11:24:29 -05:00
chouseknecht
176363052f
Uppercase
2016-12-08 11:24:29 -05:00
chouseknecht
2b4ee0c19d
Make the new bits a NOTE
2016-12-08 11:24:29 -05:00
chouseknecht
4ac31f1e8d
Where to get the full docker picture.
2016-12-08 11:24:29 -05:00
Kaz Cheng
ff1c591c3e
Allow create_iam_role to return an additional value of role_result and ( #2418 )
...
instance_profile_result, in addition to the existing role list and change value
2016-12-08 11:24:29 -05:00
Shubham
8a6237955d
remove module argument, fix #3682 ( #3683 )
2016-12-08 11:24:29 -05:00
Matt Martz
190f24f30e
Revert "Fix doc strings spacing."
...
This reverts commit 127d518011224289f7917fd3b2ec8ddf73c7dd17.
2016-12-08 11:24:28 -05:00
chouseknecht
26392077c0
Fix doc strings spacing.
2016-12-08 11:24:28 -05:00
chouseknecht
8e6d00f28e
Fix doc strings. Missing requirements and doc fragment reference.
2016-12-08 11:24:28 -05:00
Toshio Kuratomi
291e00d43a
Docs fixes
2016-12-08 11:24:28 -05:00
chouseknecht
d5b82d67b8
Fail gracefully when build path is not found.
2016-12-08 11:24:27 -05:00
chouseknecht
9a021b4181
Fixed files/project_files naming. Correct name is files.
2016-12-08 11:24:27 -05:00
chouseknecht
5837f744e0
Flip version added back to 2.2 to make tests pass.
2016-12-08 11:24:27 -05:00
chouseknecht
018c2f8f73
Moving version added to 2.1
2016-12-08 11:24:27 -05:00
chouseknecht
e8d49261e3
Added actions to RETURN docs. Show actions when debug or check mode.
2016-12-08 11:24:27 -05:00
chouseknecht
2860f57551
Removed use of --diff. Replaced 'diff' in output with 'actions'. Only show 'actions' in output if debug true.
2016-12-08 11:24:27 -05:00
chouseknecht
be24f83a41
Removed fail method. Combined recreate and force_recreate params.
2016-12-08 11:24:27 -05:00
chouseknecht
50ef604713
Adding docker_service
2016-12-08 11:24:27 -05:00
Chris Houseknecht
8ba5cc4392
Fixed parameters passing in container_create method. ( #3618 )
2016-12-08 11:24:27 -05:00
Brian Coca
985abd2020
switched to return facts
2016-12-08 11:24:26 -05:00
Brian Coca
c03e1bd2d5
fixed documentation and arg issues
2016-12-08 11:24:26 -05:00
hyperized
82cefd7ce1
Added restart functionality to ec2.py
2016-12-08 11:24:26 -05:00
Toshio Kuratomi
ed932a53cd
Fix documentation
2016-12-08 11:24:26 -05:00
John R Barker
d13046a905
ansible-validate-modules part 4: Enable check on ansible-modules-core ( #3526 )
...
* Call ansible-validate-modules
* Correct quotes + add newline
2016-12-08 11:24:26 -05:00
cspollar
7dc0dcc59e
Add missing periods to description items.
...
Current theme used by docs.ansible.com displays description items on one line. Adding periods helps readability.
2016-12-08 11:24:25 -05:00
chouseknecht
1d6517489b
Add doc string for container_limits. Fixed push fail message. Use path type.
2016-12-08 11:24:25 -05:00
Brian Coca
fdcc1fe763
clarified docs on overwrite
2016-12-08 11:24:25 -05:00
Chris Houseknecht
a09569c150
Adding new module azure_rm_networkinterace_facts ( #3460 )
...
* Adding new Azure module.
* Updating based on PR comments
2016-12-08 11:24:25 -05:00
Chris Houseknecht
9406855d6b
Adding new module azure_rm_publicipaddress_facts ( #3463 )
...
* Adding new Azure module.
* Updating based on PR comments
2016-12-08 11:24:25 -05:00
Chris Houseknecht
9db01b03fd
Adding module azure_rm_virtualnetwork_facts ( #3479 )
2016-12-08 11:24:25 -05:00
Chris Houseknecht
8a3539e69e
Adding module azure_rm_storageaccount_facts ( #3483 )
2016-12-08 11:24:25 -05:00
Chris Houseknecht
08c89626bc
Adding module azure_rm_securitygroup_facts ( #3485 )
2016-12-08 11:24:25 -05:00
Chris Houseknecht
306cbd833d
Adding new module azure_rm_resourcegroup_facts ( #3487 )
2016-12-08 11:24:25 -05:00
Chris Houseknecht
4807aa9c0e
Adding module azure_rm_virtualmachineimage_facts ( #3489 )
2016-12-08 11:24:25 -05:00
Chris Houseknecht
b4caa29b00
Adding docker_image_facts ( #3493 )
...
* Adding docker_image_facts
* Fix github credentials
2016-12-08 11:24:25 -05:00
Chris Houseknecht
bc3391f1f9
Adding docker_container ( #3495 )
...
* Adding docker_container
* If state absent, stop the container before attempting to remove. Fixed status running check.
* If container absent, stop before removing. Fix container status check.
2016-12-08 11:24:25 -05:00
Toshio Kuratomi
371d7ec73d
Fix docs building
2016-12-08 11:24:25 -05:00
Toshio Kuratomi
5f0dc2b90f
Some beginning python3 porting for modules which have unittests
2016-12-08 11:24:24 -05:00
Brian Coca
8397c8169c
fixed intersection
2016-12-08 11:24:24 -05:00
Ryan Brown
52edeeca4c
Fix capitalization of AWS in ec2_lc module documentation
2016-12-08 11:24:24 -05:00
Brian Coca
0ae72e2712
rearranged options to be more declarative
2016-12-08 11:24:24 -05:00
Brian Coca
3ebfe3f00a
fixed missign main
2016-12-08 11:24:24 -05:00
Brian Coca
cf1b391201
several fixes:
...
- removed actions feature as this should be global and not per module
- removed default fields from return docs
- moved tags docs to shared fragments
- removed unused imports
2016-12-08 11:24:24 -05:00
Bill W
0fcc2d8973
Add more example on how to use module ec2_tags to list tags on an ins… ( #3530 )
...
* Add more example on how to use module ec2_tags to list tags on an instance
* Add more example on how to use module ec2_tags to list tags on an instance
2016-12-08 11:24:24 -05:00
deyvsh
3775d8e684
Extend example to demonstrate usage of ephemeral disks. ( #3550 )
2016-12-08 11:24:24 -05:00
chouseknecht
f09b7b02d6
Remove differences from output. Make options declarative.
2016-12-08 11:24:24 -05:00
chouseknecht
ae30540ca2
Reduced states to present and absent. Power states are now bool options.
2016-12-08 11:24:24 -05:00
chouseknecht
a67e9f3122
Updated version_added on options to reflect options added for 2.1.
2016-12-08 11:24:24 -05:00
chouseknecht
f2e7f1935b
Clean up and fixes post API version 1.20 testing.
2016-12-08 11:24:24 -05:00
chouseknecht
6f122bdc88
Fix github credentials
2016-12-08 11:24:24 -05:00
chouseknecht
f257fb3efa
Fix unfriendly exeption handling.
2016-12-08 11:24:23 -05:00
chouseknecht
6aa76b835a
Updater per PR comments
2016-12-08 11:24:23 -05:00
chouseknecht
720e7daa3a
Fix poller error handling
2016-12-08 11:24:23 -05:00
chouseknecht
fd0554c67e
Adding refactored docker_image module.
2016-12-08 11:24:23 -05:00
chouseknecht
4f35cb0b2e
Adding module azure_rm_virtualmachine
2016-12-08 11:24:23 -05:00
tonyqui
cb9df31ef3
Fixing a typo, floating-ips has been used instead of floating_ips ( #3540 )
2016-12-08 11:24:23 -05:00
Chris Houseknecht
c5b7e456bd
Adding docker_login ( #3494 )
...
* Adding docker_login
* Set correct version_added.
* Fix github credentials
2016-12-08 11:24:23 -05:00
Brian Coca
0ba37906df
minor doc fixes
2016-12-08 11:24:23 -05:00
Chris Houseknecht
e85368cb3e
Adding new module azure_rm_resourcegroup ( #3490 )
...
* Adding new module azure_rm_resourcegroup
* Fix poller error handling
2016-12-08 11:24:23 -05:00
Chris Houseknecht
6d4a5e5f0e
Adding module azure_rm_storageaccount.py ( #3484 )
...
* Adding module azure_rm_storageaccount.py
* Fix poller error handling
2016-12-08 11:24:23 -05:00
Chris Houseknecht
fedf06c449
Adding module azure_rm_securitygroup ( #3486 )
...
* Adding module azure_rm_securitygroup
* Fix poller error handling
2016-12-08 11:24:23 -05:00
Chris Houseknecht
8ba16e9866
Adding new module azure_rm_storageblob ( #3482 )
2016-12-08 11:24:23 -05:00
Chris Houseknecht
0d285ec18b
Adding module azure_rm_subnet ( #3481 )
...
* Adding module azure_rm_subnet
* Fix poller error handling
2016-12-08 11:24:22 -05:00
Chris Houseknecht
d80e4f53ec
Adding module azure_rm_virtualnetwork ( #3480 )
...
* Adding module azure_rm_virtualnetwork
* Fix poller error handling
2016-12-08 11:24:22 -05:00
Chris Houseknecht
4a99a6ee8f
Adding new module azure_rm_networkinterface ( #3461 )
...
* Adding new Azure module.
* Updating based on PR comments
* Fix poller error handling
2016-12-08 11:24:22 -05:00
chouseknecht
198bb7c644
Updating based on PR comments
2016-12-08 11:24:22 -05:00
chouseknecht
36de316c1b
Adding new azure module.
2016-12-08 11:24:21 -05:00
Darek Kaczyński
08ad68984c
Fix for 'cannot unmarshal array into Go value of type string' error about HostConfig Binds ( #3496 )
2016-12-08 11:24:20 -05:00
Sumit Roy
b8204774dd
Support tagging ELBs using boto 2.0. ( #2844 )
2016-12-08 11:24:20 -05:00
Brian Coca
4e08f94a34
corrected return docs sample
2016-12-08 11:24:20 -05:00
ThomasSteinbach
a90fd67c7e
docker: fix type issue ( #3491 )
...
* fix type issue
* fix type issue for 'volumes-from'
2016-12-08 11:24:20 -05:00
Constantin
404f07af8e
Added improvements and documented return structure ( #2320 )
2016-12-08 11:24:19 -05:00
jjshoe
87946920d8
Fix an issue where by a call to ec2.get_image wasn't wrapped in a try/except, and would occasionally throw an exception in the wild. Also greatly simplifies two of the ugliest known loops to man down into a single loop. ( #2554 )
2016-12-08 11:24:19 -05:00
Dennis Conrad
70b0891f95
Fix UnboundLocalError if 'access_key_ids' not supplied
...
'key_ids' is referenced before it is assigned, causing the module to fail with a UnboundLocalError instead of failing gracefully with a helpful error message. This very small patch moves the assignment of 'key_ids' to before the variable is referenced.
2016-12-08 11:24:19 -05:00
Marcin
c3ebc84689
rebase for #2477 , ready_for_review ( #2581 )
2016-12-08 11:24:18 -05:00
Michael Fenn
add1a342fe
Support altering the virtual cdrom when state == reconfigured ( #2394 )
...
This allows a user to modify the state of the virtual cdrom in a VM
by using the state == reconfigured action. This is useful for
provisioning VMs from templates which do not have ISO images connected.
2016-12-08 11:24:18 -05:00
Alexey Wasilyev
4971c7fe82
docker: support polling image by digest ( #2932 )
2016-12-08 11:24:18 -05:00
Joel Thompson
1db444cdc2
Add exponential backoff retries to ec2_elb_lb ( #3379 )
...
ec2_elb_lb doesn't react well to AWS API throttling errors. This
implements an exponential backoff operation around some of the AWS API
calls (with random jitter, in line with AWS recommendations) to make
this more resilient.
2016-12-08 11:24:18 -05:00
Donovan Jones
8274f55818
Make remote_group handle name and id in cloud/openstack/os_security_group_rule.py
...
* Make remote_group handle name and id
* fix regression breaking os_security_group_rule with no remote_group
2016-12-08 11:24:18 -05:00
Michael Moussa
0494dced3a
Fixes read replica create BC break ( #3365 )
2016-12-08 11:24:17 -05:00
William Holroyd
42d784c24b
Added ap-northeast-2 region ( #2849 )
2016-12-08 11:24:17 -05:00
Rob
5a48a2e93e
Fix to ensure youngest snapshot is retrieved rather than oldest ( #3115 )
2016-12-08 11:24:17 -05:00
jjshoe
5b8d209b7e
Speed up AMI code by not attempting to create the AMI without checkin… ( #2551 )
...
* Speed up AMI code by not attempting to create the AMI without checking on the name first. Also simplifies code for reporting errors from AMI creation, greatly.
* remove sys.exit
2016-12-08 11:24:17 -05:00
Marcin
ea57d8b005
Check if identifier is specified for geo,weighted or failover routing. Don't fail if record set already exist. Set choices for failover - capital PRIMARY and SECONDARY. ( #2470 )
2016-12-08 11:24:17 -05:00
Fabian von Feilitzsch
32c744e82a
make binds a list instead of a dict (to prevent overwriting when copying the same file to two places) ( #2294 )
2016-12-08 11:24:17 -05:00
John Barker
d531eb146d
Replace BOOLEANS with true/false
2016-12-08 11:24:17 -05:00
Ricardo Carrillo Cruz
682d97b765
Create subnet by domain
...
A cloud/domain admin should be able to create a subnet on any
project it is granted on.
This change adds the 'project' parameter that accepts either
a name (admin-only) or id.
2016-12-08 11:24:17 -05:00
Ricardo Carrillo Cruz
eecceaef6e
Add project parameter to os_network
...
A cloud/domain admin should be able to create a network on any project
it is granted to.
This changes adds the possibility to pass either a project ID or
project name.
2016-12-08 11:24:17 -05:00
Rene Moser
aa32ae65a6
openstack: doc fix, add version_added
...
see #3388
2016-12-08 11:24:16 -05:00
Matt Martz
c26c17aa28
overwrite option was added for 2.1
2016-12-08 11:24:16 -05:00
David Shrewsbury
dcbbd72cfd
Wrap calls to main() with if check
...
A change was merged to the main Ansible core code that can cause
a potential hang if any libraries are called that use threading.
This change was:
4b0aa1214c
This affected the os_object module by causing a hang on the shade
create_object() API call (which in turn calls swiftclient which
uses threading). The fix is to make sure all modules have a main()
that is wrapped with an "if __name__ == '__main__'" check.
2016-12-08 11:24:16 -05:00
Kalle Lehtonen
02f737cdee
Fix and add more error handling for role policies
...
In case role policy was deleted, we did not handle at all if there
was authorization issue to do the deletion. Also add message when
role is not found and the policy is skipped.
2016-12-08 11:24:16 -05:00
Ricardo Carrillo Cruz
1b5288b703
Only check default_project on resource creation
...
The default_project is checked at the beginning of the module.
This raises an exception if the project passed does not exist.
This logic only makes sense on resource creation, if a user
puts state=absent the module fails, even though the default
project is not relevant
2016-12-08 11:24:15 -05:00
Brian Coca
ff755da1e5
fixed doc quoting
2016-12-08 11:24:15 -05:00
Brian Coca
37513ca8bb
corrected required docs as only boolean is allowed
...
these complex values were not displayed and would always show the fields as requried
2016-12-08 11:24:15 -05:00
David Shrewsbury
1bdc3b3bb0
Pass wait/timeout parameters to floating IP APIs in os_server
...
If a server already exists when os_server is run, but a floating
IP was not assigned to the server when one was requested, the
module will attempt to add an IP to the existing server. But it
would not pass the wait/timeout params to the floating IP APIs.
If wait was True, you could get back a server dict that did not
show the floating IP because it did not wait.
2016-12-08 11:24:15 -05:00
David Shrewsbury
82a1208e64
Set type on floating_ip_pools in os_server
...
This has been expected as a list, so let's be explicit about it
so it will work correctly in 2.1 release.
2016-12-08 11:24:15 -05:00
Ricardo Carrillo Cruz
5d402f31c8
Fix is_public type on os_image
...
Without this fix, the is_public value is a string and the shade
call handling the module does not evaluate correctly when
passing is_public: no
2016-12-08 11:24:15 -05:00
Christian Aistleitner
51e3c6c49b
Guard against too old boto library
...
route53 creates Record objects using `health check` and `failover`
parameters. Those parameters only became available in boto 2.28.0.
As some prominent LTS Linux releases (e.g.: Ubuntu 14.04) only ship
older boto versions (e.g.: 2.20.1 for Ubuntu 14.04), users are getting
unhelpful error messages like
TypeError: __init__() got an unexpected keyword argument 'health_check'
when running Ansible 2 against their LTS install's default boto.
We improve upon this error message by checking the boto version
beforehand.
Fixes ansible/ansible#13646
2016-12-08 11:24:14 -05:00
Arnaud Lachaume
50622b4e6a
fix aws elasticache idempotency
2016-12-08 11:24:14 -05:00
David Shrewsbury
4b97cd3a42
Add support for provider network options.
...
Adds new parameters for specifying options for provider network plugins.
2016-12-08 11:24:14 -05:00
whiter
dadf835a06
Remove access_key and secret_key as these are provided by aws doc fragment Remove ec2 doc fragment as region is not required for IAM
2016-12-08 11:24:14 -05:00
Michael Scherer
55bbe191e5
s/plubic/public/in the doc
2016-12-08 11:24:14 -05:00
Ash Wilson
6e2f724919
Remove myself from the docker module maintainers
...
Apologies, but I no longer use this module day-to-day myself, and I don't have the bandwidth right now to effectively triage changes in any kind of timely fashion.
2016-12-08 11:24:14 -05:00
Michael Scherer
daddfb490b
Improve/fix type checking for docker module
...
tls_* point to files, so should be type=path
count is a int, so tag it as such and avoid converting later
password should be tagged as no_log
2016-12-08 11:24:14 -05:00
Ashwanth Kumar
7c5b4b142a
Doing exponential backoff on route53 upon AWS throttling
2016-12-08 11:24:14 -05:00
Victor Beresnev
2e94affde6
If cmd and entrypoint not set, don't match them
...
Hello!
I wanted stop the containers matched only by image name, but can't do this, if I not set cmd in playbook.
This behavior confused me.
If cmd or entrypoint is defined for running container, but not defined in playbook, makes matching behavior as this sample:
https://github.com/ansible/ansible-modules-core/blob/devel/cloud/docker/docker.py#L463
2016-12-08 11:24:14 -05:00
curious-eyes
5b88ad45ef
Add preemptible option on gce.py
2016-12-08 11:24:14 -05:00
David Shrewsbury
285ab7656f
Fix allowed_address_pairs and extra_dhcp_opts in os_port
...
Commit f71542c set the incorrect type for these two parameters to
dict when they are actually list of dicts.
Also, the extra_dhcp_opts was incorrectly named (without the terminal
's') and NEVER worked, so this was corrected.
Fixes #3301
2016-12-08 11:24:13 -05:00
Ricardo Carrillo Cruz
344a559b61
Allow passing domain name on os_server
...
A cloud admin can search domains, thus it should be possible
to pass a domain name, just like ids.
2016-12-08 11:24:13 -05:00
David Shrewsbury
b750b926d3
Fix size parameter documentation
...
The generated documentation shows the size parameter as required.
Set 'required' to 'false' and move the explanation to the description.
Fixes #3278
2016-12-08 11:24:13 -05:00
Brian Coca
d035961d1c
added version added
2016-12-08 11:24:13 -05:00
Yannig Perré
72d3aab736
Add an example of extra_hosts option.
2016-12-08 11:24:13 -05:00
Rene Moser
facf61366e
openstack: os_server: add version_added for scheduler_hints
...
See #3172
2016-12-08 11:24:13 -05:00
Ted Timmons
8c6741b2bb
fix typo in documentation
...
let's -> lets
2016-12-08 11:24:13 -05:00
Taras Lipatov
b5fb47e28e
Fixed typo json_fail to fail_json
2016-12-08 11:24:13 -05:00
Fabian Fülling
eaa7e717a2
Fixes #2039 Convert None to 0 when checking if ELB cookie expiration has changed
2016-12-08 11:24:12 -05:00
Jonathan Davila
f24c3fb40e
Clarified IAM module doc
2016-12-08 11:24:12 -05:00
David Hocky
d6e32b8245
add explicit type for scheduler hints
2016-12-08 11:24:12 -05:00
David Hocky
3b800f1f34
port 'scheduler_hints' feature from nova_compute to os_server module
2016-12-08 11:24:11 -05:00
Neil Saunders
83039b93f0
Fix for issue #3109 : Executing ec2_group with rules fails with "Invalid rule parameter '['"
2016-12-08 11:24:11 -05:00
Nate Brown
b891b0c9bc
ELB Proxy Protocol support for backends
2016-12-08 11:24:11 -05:00
Joel
e3de705d0c
Allow us to sort by all available datatypes
2016-12-08 11:24:11 -05:00
Schlueter
734811910e
Add missing quote in docker documentation
2016-12-08 11:24:11 -05:00
Brian Coca
b61d531dfc
corrected typo on aws connection arguments var
2016-12-08 11:24:10 -05:00
Terry Howe
a06b07221d
Fix openstack module documentation
2016-12-08 11:24:10 -05:00
Constantin07
33079b2b7f
Treat 'is_public' option as a bool
2016-12-08 11:24:10 -05:00
Andrey Gubarev
edde3b49cf
update docker_image's path param type to 'path'. Fixes #3175
2016-12-08 11:24:10 -05:00
curious-eyes
e16367739e
Fix #2761 : gce.py - UnboundLocalError: local variable 'md'
2016-12-08 11:24:10 -05:00
Tom Bamford
1cace51ed6
Bugfix: Permit SOA record type
2016-12-08 11:24:09 -05:00
Ryan-Neal Mes
2fa3f16012
Indented code so it only executes tag comparison for matching cird values
2016-12-08 11:24:09 -05:00
Tobias Gesellchen
db14b544a5
add env_file
support (original code from @vpetersson)
2016-12-08 11:24:09 -05:00
Kanwei Li
a2a3d2fc06
Add new Dv2 Azure instances
2016-12-08 11:24:09 -05:00
Will Thames
52accd7d1f
Use connect_to_aws where possible
...
`connect_to_aws` fixes a bug with security tokens in AWS.
Modules should use that rather than calling
`boto.x.connect_to_region`
2016-12-08 11:24:09 -05:00
Tim Alkemade
be19982313
GCE module does not fetch disk images if not necessary
2016-12-08 11:24:09 -05:00
Jonathan Davila
7f338e13ff
Updated ec2_lc docs
2016-12-08 11:24:08 -05:00
Constantin07
3dde5196aa
Added explicit type for 'tags' option
2016-12-08 11:24:08 -05:00
Brian Coca
7a804fd17c
tolerate environment not being set
...
default will be the same as before, None/null
2016-12-08 11:24:07 -05:00
Constantin07
94345349a6
Fixing issue #3057 - AttributeError: 'str' object has no attribute 'items'
2016-12-08 11:24:07 -05:00
Pete Travis
b504625f72
quote fail
2016-12-08 11:24:07 -05:00
Pete Travis
f6efa9aaa5
expand when opening too
2016-12-08 11:24:07 -05:00
Pete Travis
57703450f5
use expanduser() before testing user_data as file
...
I like to use ~/somepath instead of absolute paths because
that's more shareable. Without expansion, the path wasn't
considered a file, and the resulting cloud-config user_data
contained a string for the file path instead of the file context.
So, expand it.
2016-12-08 11:24:07 -05:00
Konstantin Suvorov
762bd3a801
Fix docker container restart
...
restart_containers(containers.running) may try to restart containers
that are deleted when looping through get_differing_containers()
fix this by refreshing list after first loop
2016-12-08 11:24:07 -05:00
Daan Oosterveld
6b4fbe62de
Adds ulimit to the docker module
...
The ulimit will be specified as a list and separated by colons. The
hard limit is optional, in which case it is equal to the soft limit.
The ulimits are compared to the ulimits of the container and added
or adjusted accordingly on by a reload.
The module ensures that ulimits are available in the capabilities
iff ulimits is passes as a parameter.
2016-12-08 11:24:07 -05:00
Scott Brown
ba2bc1dbfe
Fixing missing interpolation variable
2016-12-08 11:24:07 -05:00
Brian Coca
ab6242bace
fixed rax_cdb argument spec
...
now we pull the actual arguments and added aliases to be nice
fixes #3075
2016-12-08 11:24:07 -05:00
Daniel Petty
f26199d962
replaced sudo with become
2016-12-08 11:24:06 -05:00
Matt Martz
aaf762573e
Various simple linting type cleanups on modules
2016-12-08 11:24:06 -05:00
David Shrewsbury
d7568a50e2
Fix parameters where type is assumed.
...
A change is coming to Ansible where module params will default to str.
Many of our modules were taking advantage of this by not being explicit
about the type, so they will break when that change merges. This hopefully
catches those cases.
2016-12-08 11:24:05 -05:00
Jason Kohles
bc834ff564
Enable env vars for vsphere_guest
...
This commit allows the connection information for
the vsphere_guest module to be provided as environment
variables, which makes it possible to use Cloud
Credentials from Ansible Tower in playbooks that utilize
vsphere_guest.
| ENV VAR | vsphere_guest param |
| --------------- | ---------------------- |
| VMWARE_HOST | vcenter_hostname |
| VMWARE_USER | username |
| VMWARE_PASSWORD | password |
2016-12-08 11:24:05 -05:00
Mike Caspar
ea8097a821
Documentation updates to use complete YAML : syntax instead of key=val syntax. Adjusted example to use "" where appropriate to pass YAML Syntax checker per Contribution guidelines.
...
See Issue [# 2879](https://github.com/ansible/ansible-modules-core/issues/2879 )
2016-12-08 11:24:05 -05:00
David Shrewsbury
66c83fc788
Fix for os_server module when specifying region
...
Fix the OpenStack os_server module for when region_name is specified.
This should not be passed through to the shade create_server() call
as it's only used with the auth parameters.
Fixes bug: https://github.com/ansible/ansible-modules-core/issues/2797
2016-12-08 11:24:04 -05:00
Monty Taylor
6aaee42604
Add user_data alias for userdata in os_server
...
The old nova_compute module called the parameter user_data - having an
alias to the old name is friendly.
Fixes Issue #2920
2016-12-08 11:24:04 -05:00
jjshoe
56f1d6f794
Less engrish
2016-12-08 11:24:04 -05:00
Michael Baydoun
7234ead259
Update ec2.py
...
Documentation is not clear that tag used in count_tags must be an existing instance_tag
2016-12-08 11:24:04 -05:00
Brian Coca
f1d2c71f83
corrected description key spelling
2016-12-08 11:24:04 -05:00
James Cammarata
de082490db
Fixing user_data version_added
...
Fixes #2634
2016-12-08 11:24:03 -05:00
Toshio Kuratomi
a21ce559e5
Make validate_certs for vsphere_guest work with older python2
2016-12-08 11:24:03 -05:00
Alexey Wasilyev
f8adc99196
docker: fix failing in case of empty image tag
2016-12-08 11:24:02 -05:00
Ben Visser
8769c33e46
changing default of cache_security_groups to none, removing the ['default']
...
OCD is making me fix the inconsistency with how None is typed. First Letter Capitalized All Over Now.
cleaning up the default object that was created for the cache_security_groups and removing checks dealing with it.
clean up space
Changing default cache_security_groups from [default] to None.
2016-12-08 11:24:02 -05:00
Sebastien Couture
5674e77d7e
moved code that gets the vm's current hard drive profile and checks if vm_disk definition count is higher than actual vm drive count out of for loop for efficiency
2016-12-08 11:24:02 -05:00
Sebastien Couture
e5decc3e51
Added support for resizing disks when state is 'reconfigured'
2016-12-08 11:24:02 -05:00
Stewart Rutledge
79b8a42354
Changed insecure to validate_certs, with a default to true from false (reversing behavior)
2016-12-08 11:24:02 -05:00
Stewart Rutledge
2f79e2c01c
Added support for insecure parameter
2016-12-08 11:24:01 -05:00
Toshio Kuratomi
f6aa1ff9a4
Remove duplicate documentation fields
2016-12-08 11:24:01 -05:00
Shawn Silva
12be401c11
The parameters 'template' and 'template_url' are incorrectly required in all cases.
...
If the state is 'absent' they should not be required. A few lines below the correct check is already in place.
2016-12-08 11:24:01 -05:00
Brian Coca
19b3d43aa5
added missing version_Added
2016-12-08 11:24:01 -05:00
Yair Fried
63a0b99b6a
Fix glance_client module
...
Wrong variable name.
2016-12-08 11:24:01 -05:00
techraf
896dcd9787
Fixed typo in example playbook
2016-12-08 11:24:00 -05:00
Brian Coca
a0204b80dc
tabs are bad
2016-12-08 11:24:00 -05:00
Julia Kreger
060e12a2d3
Add wait support to os_ironic_node
...
Add support for the os_ironic_node module to be capible of waiting
until the baremetal node activation or deactivation has completed.
2016-12-08 11:24:00 -05:00
Tom Bamford
68f76c50d8
Remove explicit region parameter from ec2_ami_find
2016-12-08 11:24:00 -05:00
David Shrewsbury
f6d6895ce9
Add purge option to os_floating_ip module
...
Add the ability to completely delete a floating IP from the pool
when disassociating it from a server. When state is absent and
purge is true, the IP will be completely deleted. The default
keeps the current behavior, which is to only disassociate the IP
from the server.
2016-12-08 11:24:00 -05:00
David Shrewsbury
aed44e8886
Fix OpenStack module failure output
...
The exception message, when shade fails, will contain much more
specific information about the failure if the exception is treated
as a string. The 'message' attribute alone is usually not helpful.
2016-12-08 11:24:00 -05:00
Ben Visser
18ff22348a
fixed grammatical issue in iam.py. exit -> exist.
2016-12-08 11:24:00 -05:00
Yoichi Imai
b9b08666f5
Fix iam_policy pdoc variable
2016-12-08 11:24:00 -05:00
Jason Paige
a2f4d46c9b
updating choices for rds parameter engines
2016-12-08 11:24:00 -05:00
Bermudez, Jaime
efbdea909e
Simplify logic around "present" state and skip dupes. If the policy doesn't exist or the policy document doesn't match or if we're not skipping dupes, then we go ahead and update the respective user/group/role policy.
2016-12-08 11:23:59 -05:00
daniel-sc
f654bd45f8
Allowing specifying ip by address
2016-12-08 11:23:59 -05:00
daniel-sc
40565b7293
Allowing to specify specific external ip for gce instances
2016-12-08 11:23:59 -05:00
Vladimir Mihailenco
2bdfea4a43
rackspace: set headers when uploading files to CF.
...
Otherwise CDN (Akamai) downloads file without the headers. The sequence
is following:
1. Ansible uploads file to CF.
2. Akamai downloads the file and caches it in CDN.
3. Ansible sets headers.
As a result Akamai serves file without headers.
This is backwards incompatible change, because headers keys are not
prefixed with `x-object-meta-`. Which allows user to set headers like
`Access-Control-Allow-Origin`.
2016-12-08 11:23:59 -05:00
bobgroves
18d4a33891
Makes rax_dns_record override default to true
2016-12-08 11:23:59 -05:00
bobgroves
65697dea14
Adds overwrite option to rax_dns_record
2016-12-08 11:23:59 -05:00
Henrique Rodrigues
c2e62ed9a9
Fix misspelling of the word 'certificate'
2016-12-08 11:23:59 -05:00
Brian Coca
b25c2a4261
added note about awslogs version added
2016-12-08 11:23:59 -05:00
Brian Coca
6e73c61298
added version_added
2016-12-08 11:23:59 -05:00
Constantin07
f36c567022
Added delete_on_termination option for volume attachment
2016-12-08 11:23:59 -05:00
Matt Ferrante
2dd53a8d91
updated s3 module documentation
2016-12-08 11:23:59 -05:00
jefferson fermo
9d9daeb73c
add awslog option in docker log driver. this option is available starting with ansible 2.1
2016-12-08 11:23:59 -05:00
Brian Coca
f50fbe9dd2
updated s3 docs to reflect mode choices
...
fixes #2318
2016-12-08 11:23:58 -05:00
autotune
90631aef1b
1113 fix ec2 subnet tags
2016-12-08 11:23:58 -05:00
Brian Coca
a5e4969dc4
updated version_added
2016-12-08 11:23:58 -05:00
Joost Cassee
267dcc8eb6
Add wait_timeout option to route53 module
...
This option is used to make sure the module does not block forever.
2016-12-08 11:23:58 -05:00
Joost Cassee
e91bcba078
Add wait option to route53 module
...
This option makes the module wait for the changes to replicate to all
Amazon DNS servers.
2016-12-08 11:23:58 -05:00
Ben Visser
cfed7e11d8
two choices for cache engine. adding them.
...
revert spacing
undoing quotes around default. will do another pull requests
Making documentation more explicit for elasticache engine choices.
2016-12-08 11:23:58 -05:00
Timothy R. Chavez
2ef913a288
Pass network argument to add_ips_to_server
...
The `network` argument needs to be passed through `add_ips_to_server`
so that the default value can be properly overridden from ansible.
2016-12-08 11:23:58 -05:00
Marios Andreopoulos
1ae765d61f
fix: do not set scopes account to service account used for instance creation
2016-12-08 11:23:58 -05:00
Alexey Wasilyev
4d30ae313d
Add cpu_shares option for docker module
2016-12-08 11:23:57 -05:00
krdlab
c680611fe4
Fix self.changed
value in ElbManager
(ec2_elb_lb)
2016-12-08 11:23:57 -05:00
Will Rouesnel
b565da78b3
docker: Fix state=reloaded to detect default LoggingDriver for docker
...
Previously the logging module hard coded the default logging driver. This means
if the docker daemon is started with a different logging driver, the ansible
module would continually restart it when run.
This fix adds a call to docker.Client.info(), which is inspected if a logging
driver is not supplied in the playbook, and the container only restarted if
the logging driver applied differs from the configured default.
In usage, this has solved issues with using alternative logging drivers.
2016-12-08 11:23:57 -05:00
Brian Coca
351de21ee7
made port default depending on db engine
2016-12-08 11:23:57 -05:00
Brian Coca
1fe3387971
crrected version added
2016-12-08 11:23:57 -05:00
Brian Coca
0ca9356675
added versions note in description for new choice
2016-12-08 11:23:56 -05:00
Pavel Derendyaev
3129154a2a
Add "timeout" option to Docker module
2016-12-08 11:23:56 -05:00
Jon Hadfield
d0e37fa542
return allocation id for vpc address.
2016-12-08 11:23:56 -05:00
Dmitry Labutin
b20066ff8e
Fix issue #2721 : os_object parameters and docs don't align (file/filename)
2016-12-08 11:23:56 -05:00
Ben Visser
a01fe88263
staging that num_nodes is required when state=present
2016-12-08 11:23:56 -05:00
Brian Coca
1367e73c94
be smarter when dealing with policy_json input
...
Now module will assume that if the argument is a string it is already formated as json
and will only try to convert non strings into json string.
Also removed unused 'msg' var declarations and the ifs that set them
fixes #2009
2016-12-08 11:23:56 -05:00
Vic Iglesias
353db36515
Update GCE PEM deprecation text and examples
2016-12-08 11:23:56 -05:00
Charles Paul
980691338a
adding no_log to password
2016-12-08 11:23:55 -05:00
Vic Iglesias
612d9c3e92
Use credentials_file for GCE module auth config
2016-12-08 11:23:55 -05:00
tksarah
7ad225eedd
Edit azure.py
2016-12-08 11:23:55 -05:00
Etherdaemon
eba78d08f9
Update to wait and wait_timeout with a maximum of 10 minutes timeout
2016-12-08 11:23:55 -05:00
luto
610de975e6
vsphere_guest: when creating a guest, gather facts about it *before* disconnect
2016-12-08 11:23:55 -05:00
Etherdaemon
cd3f306518
Proposing a wait_for function to ensure elb has been successfully removed
2016-12-08 11:23:55 -05:00
Mike Buzzetti
f20b09e2ec
Add evaluate taget health for alias based records
2016-12-08 11:23:55 -05:00
sebi
76af56eaca
added unless stopped option
2016-12-08 11:23:55 -05:00
Brian Coca
7d6c704404
fix bad linebreak
2016-12-08 11:23:55 -05:00
Michael Scherer
69036826a8
Fix #2629 , replace choices=BOOLEANS by type='bool'
2016-12-08 11:23:55 -05:00
luto
d20c4368d2
vsphere_guest: add power status to facts
2016-12-08 11:23:55 -05:00
Manuel Tiago Pereira
057cbacf8a
Add support for legacy registries to pull_image().
...
Since we now have several exceptions to the assumption that the
result of the pull would be on the last status line returned by
docker-py's pull(), I've changed the function so that it looks
through the status lines and returns what if finds on it.
Despite the repeated `break`s, the code seems simpler and a little
more coherent like this. From what I've checked using
`https://github.com/jlafon/ansible-profile `, the execution time is
mostly the same.
2016-12-08 11:23:54 -05:00
Sam Thursfield
eba767902c
os_server: Add some error checking for the 'nics' parameter
...
If this parameter was not of the right type, the module would fail with a
traceback, with a "AttributeError: 'str' object has no attribute 'get'"
exception.
It now gives a proper error message on type errors.
2016-12-08 11:23:54 -05:00
Toshio Kuratomi
7a492764d0
Fix up documentation
2016-12-08 11:23:54 -05:00
Toshio Kuratomi
4fa9de5af3
entrypoint feature added in 2.1
2016-12-08 11:23:54 -05:00
Toshio Kuratomi
eb65f819f5
labels is actually not aded in 1.9.4 but in 2.1
2016-12-08 11:23:54 -05:00
Andrew Pashkin
c811a3f4bc
Add 'entrypoint' parameter to Docker module
2016-12-08 11:23:54 -05:00
Andrew Pashkin
8342397427
Harden matching running containers by "command" in the Docker module
...
Before this patch:
- Command was matched if 'Command' field of docker-py
representation of Docker container ends with 'command' passed
to Ansible docker module by user.
- That can give false positives and false negatives.
- For example:
a) If 'command' was set up with more than one spaces,
like 'command=sleep 123', it would be never matched again
with a container(s) launched by this task.
Because after launching, command would be normalized and
appear, in docker-py API call, just as 'sleep 123' - with one
space. This is false negative case.
b) If 'entrypoint + command = command', for example
'sleep + 123 = sleep 123', module would give false positive
match.
This patch fixes it, by making matching more explicit - against
'Config'->Cmd' field of 'docker inspect' output, provided by docker-py
API and with proper normalization of user input by splitting it to
tokens with 'shlex.split()'.
2016-12-08 11:23:54 -05:00
Omar Khan
369fe78c60
Add stop_timeout option to docker module
2016-12-08 11:23:54 -05:00
Toshio Kuratomi
a708ad65c4
Add version_added to documentation
2016-12-08 11:23:54 -05:00
Joe Quadrino
b6e2b2dce1
add devices parameter for docker module
2016-12-08 11:23:54 -05:00
Yann Hamon
1faf8dd5c2
Docker module: restarted should update the container when necessary
2016-12-08 11:23:54 -05:00
Andy Nelson
444895f889
Update to ec2_vpc.py to: 1 allow interface ids and vpc peering connections as route targets 2 set state to "terminated" when VPC is removed 3 fix some comment typos
...
updates per PR comments
2016-12-08 11:23:54 -05:00
HAMSIK Adam
2af105bcbc
Convert enabled value to boolean to actually work, make sure we can set expiration period to 0(None) to disable it
2016-12-08 11:23:53 -05:00
Pedro Romano
bcae9a2b5e
GCE libcloud 0.15 support and code cleanup * Code formatting (indentation and white space) fixes for improved PEP8 conformity. * Remove redundant backslashes inside parentheses. * Test for object identity should be 'is not None'. * Test for membership should be 'not in'. * Fit docstring to the PEP8 79 character limit. * Use forward compatible Python 2.6+ 'except .. as' syntax for exception handling. * Support libcloud > 0.15 'metadata' argument format.
2016-12-08 11:23:53 -05:00
Alberto Gireud
58c39f47c1
Update root_volume variable
2016-12-08 11:23:53 -05:00
luto
d48dffc298
vsphere_guest: support putting a guest into a nested folder
2016-12-08 11:23:53 -05:00
Toshio Kuratomi
8d293651df
Fix os_server docs build
2016-12-08 11:23:53 -05:00
Donovan Jones
8b9cd7f410
fix typo in os_server security_groups description
2016-12-08 11:23:53 -05:00
Brian Coca
9259b51c97
updated module docs, added choices to state
2016-12-08 11:23:53 -05:00
Tobias Smolka
cf5403afa3
Making cluster parameter optional
2016-12-08 11:23:53 -05:00
Monty Taylor
a715c91d0b
Add support for network, boot_from_volume and volumes
...
nics is a great flexible parameter, but it's wordy. Shade now supports
a simple parameter too, which is just "network" and takes a name or id.
Add passthrough support.
In addition to supporting booting from a pre-existing volume, nova and
shade both support the concept of booting from volume based on an image.
Pass the parameters through.
Shade supports boot-time attachment of additional volumes for OpenStack
instances. Pass through the parameter so that ansible users can also
take advantage of this.
2016-12-08 11:23:52 -05:00
Brian Coca
b4f87ac7fe
made note that Z/z are only 2.1 options
2016-12-08 11:23:52 -05:00
Timothy R. Chavez
37ac954123
Get new server object after adding floating IP
...
We need a new server object once we add the floating ip, otherwise we
will be operating with the older server object pre-floating-ip
assignment.
2016-12-08 11:23:52 -05:00
Michel Alexandre Salim
325a979876
Set the argument type for ec2_vol's encrypted parameter
...
If this is not set, Ansible parses the parameter as a string.
This is fine if the parameter is not provided by the caller, but
if it is set to False or True explicitly, ec2_vol receives this as
the string 'False' or the string 'True', both of which are truthy.
Thus, without this fix, setting the parameter results in encryption
always enabled.
2016-12-08 11:23:52 -05:00
Steve Spencer
d4aca8eacc
Sync up with allowable docker volume mounting modes
2016-12-08 11:23:52 -05:00
Steve Spencer
769d7db1d0
Add support for mounting host volumes with Z and z options
2016-12-08 11:23:52 -05:00
Leonty
22648e88cd
Corrected misspelling in the 'labels' docker parameter documentation.
2016-12-08 11:23:52 -05:00
Aaron Boushley
876bdb62e1
Fix issue with comparing versions improperly.
...
This allows old versions of docker api to function.
2016-12-08 11:23:51 -05:00
Leonty
8638d9d26c
Support 'labels' parameter for docker.
2016-12-08 11:23:51 -05:00
Jumpei Ogawa
ebb0d6301d
Add explanation in case that ipv4_range is required
2016-12-08 11:23:51 -05:00
Jumpei Ogawa
256c840942
Add better error message when specified network doesn't exist and ipv4_range is not specified
2016-12-08 11:23:51 -05:00
Arthur Clement
7c8d3d9b20
Example of single instance with ssd gp2 root volume creation
2016-12-08 11:23:50 -05:00
Toshio Kuratomi
6cb1606005
Don't raise or catch StandardError in amazon modules
2016-12-08 11:23:50 -05:00
Markus Suonto
39d3c3dea6
fixed quantum_ modules to work with minimum access rights if greater access rights are not needed
2016-12-08 11:23:49 -05:00
Jay Rogers
bef2b75857
Update in Amazon IAM Policy Documentation
...
There were typos in the documentation that made the examples seem misleading of what was being demonstrated. This update fixes that.
2016-12-08 11:23:49 -05:00
Brian Coca
b30438f2c8
updated docs to denote retirement of v1 api and clarify when and why auth fields have changed
2016-12-08 11:23:49 -05:00
Lippy Lee
2ce1f87bf8
Make digital_ocean_domain use API v2
2016-12-08 11:23:49 -05:00
Michel Alexandre Salim
fba26fda1c
Fix ec2_snapshot documentation
...
last_snapshot_min_age is added in 2.0, not 1.9
2016-12-08 11:23:49 -05:00
Brian Coca
1c1c8d0854
doc updates - added version_added to new api_token - updated notes to explain API issues, option switch and versions affected.
2016-12-08 11:23:49 -05:00
Max Rothman
086038cb4f
Fix rds "promote" command never promoting
...
Previously, the `promote` command in the `rds` module would always return OK and never actually promote an instance. This was because `promote_db_instance()` had its conditions backwards: if the instance had the `replication_source` attribute indicating that it **was** a replica, it would set `changed = False` and do nothing. If the instance **wasn't** a replica, it would attempt to run `boto.rds.promote_read_replica()`, which would always fail.
2016-12-08 11:23:49 -05:00
joshuaeke
88f221fd9f
Update ec2.py remove state tag
...
'exact_count' and 'state' are mutually exclusive options they should not be in the following examples:
- # Enforce that 5 running instances named "database" with a "dbtype" of "postgres" example and
- # Enforce that 5 instances with a tag "foo" are running
2016-12-08 11:23:49 -05:00
Toshio Kuratomi
a90de29ceb
Minor simplification of code
2016-12-08 11:23:49 -05:00
Brian Coca
2efb97e9d5
corrected version_added, removed empty alias
2016-12-08 11:23:49 -05:00
David Shrewsbury
5c5db04ff0
Bug fix for os_image and min_disk/min_ram
...
The min_disk and min_ram parameters were not being passed to
the shade API. They also need to be integer values. Also
updated the description of these parameters for better
clarification.
2016-12-08 11:23:49 -05:00