This commit is contained in:
x4rd0o1Vtx 2024-05-13 08:39:31 +00:00
parent 9ae308c7c3
commit 3c78c25505

View File

@ -774,6 +774,7 @@ see <a class="reference internal" href="#ansible-collections-community-docker-do
<tr class="row-odd"><td><div class="ansible-option-indent"></div><div class="ansible-option-cell">
<div class="ansibleOptionAnchor" id="parameter-healthcheck/test_cli_compatible"></div><p class="ansible-option-title" id="ansible-collections-community-docker-docker-container-module-parameter-healthcheck-test-cli-compatible"><strong>test_cli_compatible</strong></p>
<a class="ansibleOptionLink" href="#parameter-healthcheck/test_cli_compatible" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
<p><em class="ansible-option-versionadded">added in community.docker 3.10.0</em></p>
</div></td>
<td><div class="ansible-option-indent-desc"></div><div class="ansible-option-cell"><p>If set to <code class="ansible-value docutils literal notranslate"><span class="pre">true</span></code>, omitting <code class="ansible-option docutils literal notranslate"><strong><a class="reference internal" href="#ansible-collections-community-docker-docker-container-module-parameter-healthcheck-test"><span class="std std-ref"><span class="pre">healthcheck.test</span></span></a></strong></code> while providing <code class="ansible-option docutils literal notranslate"><strong><a class="reference internal" href="#ansible-collections-community-docker-docker-container-module-parameter-healthcheck"><span class="std std-ref"><span class="pre">healthcheck</span></span></a></strong></code> does not disable healthchecks, but simply overwrites the images values by the ones specified in <code class="ansible-option docutils literal notranslate"><strong><a class="reference internal" href="#ansible-collections-community-docker-docker-container-module-parameter-healthcheck"><span class="std std-ref"><span class="pre">healthcheck</span></span></a></strong></code>. This is the behavior used by the Docker CLI.</p>
<p>If set to <code class="ansible-value docutils literal notranslate"><span class="pre">false</span></code>, omitting <code class="ansible-option docutils literal notranslate"><strong><a class="reference internal" href="#ansible-collections-community-docker-docker-container-module-parameter-healthcheck-test"><span class="std std-ref"><span class="pre">healthcheck.test</span></span></a></strong></code> will disable the containers health check. This is the classical behavior of the module and currently the default behavior.</p>