This commit is contained in:
felixfontein 2022-11-30 21:27:04 +00:00
parent b09be19eb5
commit d19192a6a5
2 changed files with 5 additions and 3 deletions

View File

@ -169,6 +169,7 @@
<h2><a class="toc-backref" href="#id1">Synopsis</a><a class="headerlink" href="#synopsis" title="Permalink to this heading"></a></h2>
<ul class="simple">
<li><p>Return facts about whether the module runs in a Docker container.</p></li>
<li><p>This module attempts a best-effort detection. There might be special cases where it does not work; if you encounter one, <a class="reference external" href="https://github.com/ansible-collections/community.docker/issues/new?assignees%3D%26labels%3D%26template%3Dbug_report.md">please file an issue</a>.</p></li>
</ul>
</section>
<section id="attributes">
@ -246,9 +247,9 @@
<a class="ansibleOptionLink" href="#return-ansible_facts/ansible_module_container_type" title="Permalink to this return value"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
</div></td>
<td><div class="ansible-option-cell"><p>The detected container environment.</p>
<p>Contains an empty string if no container was detected.</p>
<p>Otherwise, will be one of <code class="docutils literal notranslate"><span class="pre">docker</span></code>, <code class="docutils literal notranslate"><span class="pre">azure_pipelines</span></code>, or <code class="docutils literal notranslate"><span class="pre">github_actions</span></code>.</p>
<p>Contains an empty string if no container was detected, or a non-empty string identifying the container environment.</p>
<p><code class="docutils literal notranslate"><span class="pre">github_actions</span></code> is supported since community.docker 2.4.0.</p>
<p><code class="docutils literal notranslate"><span class="pre">podman</span></code> is supported since community.docker 3.3.0.</p>
<p class="ansible-option-line"><span class="ansible-option-returned-bold">Returned:</span> always</p>
<p class="ansible-option-line"><span class="ansible-option-choices">Can only return:</span></p>
<ul class="simple">
@ -256,6 +257,7 @@
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">&quot;docker&quot;</span></code></p></li>
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">&quot;azure_pipelines&quot;</span></code></p></li>
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">&quot;github_actions&quot;</span></code></p></li>
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">&quot;podman&quot;</span></code></p></li>
</ul>
</div></td>
</tr>

File diff suppressed because one or more lines are too long