mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
deploy: c2d84efccb
This commit is contained in:
parent
b09be19eb5
commit
d19192a6a5
@ -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">"docker"</span></code></p></li>
|
||||
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">"azure_pipelines"</span></code></p></li>
|
||||
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">"github_actions"</span></code></p></li>
|
||||
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">"podman"</span></code></p></li>
|
||||
</ul>
|
||||
</div></td>
|
||||
</tr>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user