This commit is contained in:
felixfontein 2024-01-16 21:50:28 +00:00
parent b93224c6e0
commit 525185900b

View File

@ -232,8 +232,8 @@ see <a class="reference internal" href="#ansible-collections-community-docker-do
<a class="ansibleOptionLink" href="#parameter-build" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p> <a class="ansibleOptionLink" href="#parameter-build" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
</div></td> </div></td>
<td><div class="ansible-option-cell"><p>Whether to build images before starting containers. This is used when <code class="ansible-option-value docutils literal notranslate"><a class="reference internal" href="#ansible-collections-community-docker-docker-compose-v2-module-parameter-state"><span class="std std-ref"><span class="pre">state=present</span></span></a></code>.</p> <td><div class="ansible-option-cell"><p>Whether to build images before starting containers. This is used when <code class="ansible-option-value docutils literal notranslate"><a class="reference internal" href="#ansible-collections-community-docker-docker-compose-v2-module-parameter-state"><span class="std std-ref"><span class="pre">state=present</span></span></a></code>.</p>
<p><code class="ansible-value docutils literal notranslate"><span class="pre">always</span></code> always builds before starting containers. This is equivalent to the <code class="docutils literal notranslate"><span class="pre">--pull</span></code> option of <code class="docutils literal notranslate"><span class="pre">docker</span> <span class="pre">compose</span> <span class="pre">up</span></code>.</p> <p><code class="ansible-value docutils literal notranslate"><span class="pre">always</span></code> always builds before starting containers. This is equivalent to the <code class="docutils literal notranslate"><span class="pre">--build</span></code> option of <code class="docutils literal notranslate"><span class="pre">docker</span> <span class="pre">compose</span> <span class="pre">up</span></code>.</p>
<p><code class="ansible-value docutils literal notranslate"><span class="pre">never</span></code> never builds before starting containers. This is equivalent to the <code class="docutils literal notranslate"><span class="pre">--no-pull</span></code> option of <code class="docutils literal notranslate"><span class="pre">docker</span> <span class="pre">compose</span> <span class="pre">up</span></code>.</p> <p><code class="ansible-value docutils literal notranslate"><span class="pre">never</span></code> never builds before starting containers. This is equivalent to the <code class="docutils literal notranslate"><span class="pre">--no-build</span></code> option of <code class="docutils literal notranslate"><span class="pre">docker</span> <span class="pre">compose</span> <span class="pre">up</span></code>.</p>
<p><code class="ansible-value docutils literal notranslate"><span class="pre">policy</span></code> uses the policy as defined in the Copose file.</p> <p><code class="ansible-value docutils literal notranslate"><span class="pre">policy</span></code> uses the policy as defined in the Copose file.</p>
<p class="ansible-option-line"><strong class="ansible-option-choices">Choices:</strong></p> <p class="ansible-option-line"><strong class="ansible-option-choices">Choices:</strong></p>
<ul class="simple"> <ul class="simple">