20b95adf2b
* 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> |
||
---|---|---|
.. | ||
host_vars | ||
targets | ||
cloud-config-aws.yml.template | ||
cloud-config-azure.yml.template | ||
cloud-config-cs.ini.template | ||
cloud-config-gcp.yml.template | ||
cloud-config-opennebula.yml.template | ||
cloud-config-openshift.kubeconfig.template | ||
cloud-config-tower.cfg.template | ||
integration.cfg | ||
integration_config.yml | ||
inventory | ||
inventory.networking.template | ||
inventory.remote.template | ||
inventory.winrm.template | ||
network-integration.cfg | ||
target-prefixes.network | ||
windows-integration.cfg |