mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-09-12 19:07:24 +00:00
Allow healthcheck override without test option (#847)
* Add healthcheck test_cli_compatible option * Update plugins/module_utils/util.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/docker_container.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -935,6 +935,7 @@ OPTION_HEALTHCHECK = (
|
||||
OptionGroup(preprocess=_preprocess_healthcheck)
|
||||
.add_option('healthcheck', type='dict', ansible_suboptions=dict(
|
||||
test=dict(type='raw'),
|
||||
test_cli_compatible=dict(type='bool', default=False),
|
||||
interval=dict(type='str'),
|
||||
timeout=dict(type='str'),
|
||||
start_period=dict(type='str'),
|
||||
|
||||
Reference in New Issue
Block a user