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