community.general/lib/ansible/modules/cloud
Akshay Gaikwad 20b95adf2b Add Support of healthcheck in docker_container module (#46772)
* Add Support of healthcheck in docker_container module

Fixes #33622
Now container can be started with healthcheck enabled

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Extend docker_container healthcheck (#1)

* Allowing to disable healthcheck.

* Added test for healthcheck.

* Make sure correct types are used.

* Healthcheck needs to be explicitly disabled with test: ['NONE'].

* pep8 fixes

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Fix bug if healthcheck interval is 1 day or more

`timedelta` object has days too and seconds are up to one day.
Therefore use `total_seconds()` to convert time into seconds.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Add test for healthcheck when healthcheck is not specified

This is to avoid the situation when healthcheck is not specified and
treat this as healthcheck is changed or removed.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Convert string syntax for healthcheck test to CMD-SHELL

Also add another test case to check idempotency when healthcheck test
is specified as string

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>

* Playbook fails if minimun docker version is not satisfy for healthcheck

This is to make more consistent with other non-supported options.

Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
2018-10-24 11:49:56 +01:00
..
alicloud Add new module ali_instance (#36898) 2018-10-23 13:02:21 -05:00
amazon - Moved data sanitization logic so it is no longer conditionally applied (#41405) 2018-10-23 09:38:52 -04:00
atomic state: present added in docs (#37197) 2018-08-24 12:22:18 -05:00
azure azure_rm_cdnprofile: Add 'standard_microsoft' to sku (#47309) 2018-10-19 15:30:21 +08:00
centurylink More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
cloudscale Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
cloudstack cs_account: Implement role parameter support (#46166) 2018-09-27 07:37:56 +02:00
digital_ocean Digital Ocean firewall facts (#46582) 2018-10-07 05:09:52 -05:00
dimensiondata Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
docker Add Support of healthcheck in docker_container module (#46772) 2018-10-24 11:49:56 +01:00
google GCP MagicModules bug fixes (#47285) 2018-10-18 10:55:42 -04:00
heroku New module: heroku_collaborator (#39001) 2018-05-22 11:50:53 +02:00
linode Use dashes not underscores for linode labels. (#44719) 2018-09-20 15:42:45 -04:00
lxc Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
lxd Fix bug #32437 (#38166) 2018-08-05 17:49:11 -04:00
memset New Memset module to request DNS reloads (#40390) 2018-05-25 00:30:25 +02:00
misc Fixed spelling error 2018-10-22 19:00:53 +02:00
oneandone More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
online Add an Online servers fact 2018-09-24 21:03:50 +02:00
opennebula Update one_vm.py (#43349) 2018-08-22 01:56:47 -04:00
openstack os_user_role: Include domain parameter in user lookup (#42913) 2018-10-19 12:16:19 -04:00
ovh Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
ovirt Fix minor typos (#47381) 2018-10-23 03:25:44 -04:00
packet Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
profitbricks More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
pubnub Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
rackspace Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
scaleway Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
smartos Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
softlayer Update sl_vm.py (#43966) 2018-09-25 11:15:51 +01:00
spotinst spotinst_aws_elastigroup module: adding version to Rancher integration (#46293) 2018-10-17 13:45:02 -04:00
univention Add a alias from organisation to organization (#45688) 2018-09-17 15:50:46 -04:00
vmware VMware: change type of state in vmware_host_ipv6 (#47362) 2018-10-23 11:37:34 +05:30
vultr vultr: fix for unreliable API behavior (#45712) 2018-09-19 00:01:53 +02:00
webfaction Convert more http links to https. 2018-04-25 23:12:46 -07:00
__init__.py package files 2016-12-08 11:22:22 -05:00