mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Update inspection info about objects in modules (#819)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
ba88eda0fc
commit
7a1d668e0e
46 changed files with 942 additions and 700 deletions
|
|
@ -136,6 +136,7 @@ To check whether it is installed, run <code class="code docutils literal notrans
|
|||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ Environment variables used by the ansible-core configuration are documented in <
|
|||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@
|
|||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@
|
|||
<h3>Modules<a class="headerlink" href="#modules" title="Permalink to this heading">¶</a></h3>
|
||||
<ul class="simple">
|
||||
<li><p><a class="reference internal" href="podman_container_module.html#ansible-collections-containers-podman-podman-container-module"><span class="std std-ref">podman_container module</span></a> – Manage podman containers</p></li>
|
||||
<li><p><a class="reference internal" href="podman_container_copy_module.html#ansible-collections-containers-podman-podman-container-copy-module"><span class="std std-ref">podman_container_copy module</span></a> – Copy file to/from a container</p></li>
|
||||
<li><p><a class="reference internal" href="podman_container_exec_module.html#ansible-collections-containers-podman-podman-container-exec-module"><span class="std std-ref">podman_container_exec module</span></a> – Executes a command in a running container.</p></li>
|
||||
<li><p><a class="reference internal" href="podman_container_info_module.html#ansible-collections-containers-podman-podman-container-info-module"><span class="std std-ref">podman_container_info module</span></a> – Gather facts about containers using podman</p></li>
|
||||
<li><p><a class="reference internal" href="podman_containers_module.html#ansible-collections-containers-podman-podman-containers-module"><span class="std std-ref">podman_containers module</span></a> – Manage podman containers in a batch</p></li>
|
||||
|
|
@ -136,6 +137,7 @@
|
|||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
BIN
docs/objects.inv
BIN
docs/objects.inv
Binary file not shown.
|
|
@ -168,6 +168,7 @@ To check whether it is installed, run <code class="code docutils literal notrans
|
|||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="containers.podman.podman_container_info module – Gather facts about containers using podman" href="podman_container_info_module.html" />
|
||||
<link rel="prev" title="containers.podman.podman_container module – Manage podman containers" href="podman_container_module.html" />
|
||||
<link rel="prev" title="containers.podman.podman_container_copy module – Copy file to/from a container" href="podman_container_copy_module.html" />
|
||||
|
||||
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
|
||||
|
||||
|
|
@ -287,6 +287,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
@ -326,7 +327,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Related Topics</h3>
|
||||
<ul>
|
||||
<li><a href="index.html">Documentation overview</a><ul>
|
||||
<li>Previous: <a href="podman_container_module.html" title="previous chapter">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li>Previous: <a href="podman_container_copy_module.html" title="previous chapter">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li>Next: <a href="podman_container_info_module.html" title="next chapter">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -148,6 +148,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -165,6 +165,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -407,6 +407,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -186,6 +186,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -170,6 +170,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
</div></td>
|
||||
<td><div class="ansible-option-cell"><p>Facts from all or specified networks</p>
|
||||
<p class="ansible-option-line"><strong class="ansible-option-returned-bold">Returned:</strong> always</p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">[{"cniVersion":</span> <span class="pre">"0.4.0",</span> <span class="pre">"name":</span> <span class="pre">"podman",</span> <span class="pre">"plugins":</span> <span class="pre">[{"bridge":</span> <span class="pre">"cni-podman0",</span> <span class="pre">"ipMasq":</span> <span class="pre">true,</span> <span class="pre">"ipam":</span> <span class="pre">{"ranges":</span> <span class="pre">[[{"gateway":</span> <span class="pre">"10.88.0.1",</span> <span class="pre">"subnet":</span> <span class="pre">"10.88.0.0/16"}]],</span> <span class="pre">"routes":</span> <span class="pre">[{"dst":</span> <span class="pre">"0.0.0.0/0"}],</span> <span class="pre">"type":</span> <span class="pre">"host-local"},</span> <span class="pre">"isGateway":</span> <span class="pre">true,</span> <span class="pre">"type":</span> <span class="pre">"bridge"},</span> <span class="pre">{"capabilities":</span> <span class="pre">{"portMappings":</span> <span class="pre">true},</span> <span class="pre">"type":</span> <span class="pre">"portmap"},</span> <span class="pre">{"backend":</span> <span class="pre">"iptables",</span> <span class="pre">"type":</span> <span class="pre">"firewall"}]}]</span></code></p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">[{"created":</span> <span class="pre">"2024-05-27T21:09:03.486699659+03:00",</span> <span class="pre">"dns_enabled":</span> <span class="pre">false,</span> <span class="pre">"driver":</span> <span class="pre">"macvlan",</span> <span class="pre">"id":</span> <span class="pre">"3227f9785ae4657c022c8da7b0e04d2d124199e66da10a9130437e3c3f0e0e42",</span> <span class="pre">"internal":</span> <span class="pre">false,</span> <span class="pre">"ipam_options":</span> <span class="pre">{"driver":</span> <span class="pre">"host-local"},</span> <span class="pre">"ipv6_enabled":</span> <span class="pre">true,</span> <span class="pre">"name":</span> <span class="pre">"dmz",</span> <span class="pre">"options":</span> <span class="pre">{"no_default_route":</span> <span class="pre">"true"},</span> <span class="pre">"subnets":</span> <span class="pre">[{"gateway":</span> <span class="pre">"10.10.0.1",</span> <span class="pre">"lease_range":</span> <span class="pre">{"end_ip":</span> <span class="pre">"10.10.0.255",</span> <span class="pre">"start_ip":</span> <span class="pre">"10.10.0.249"},</span> <span class="pre">"subnet":</span> <span class="pre">"10.10.0.0/24"},</span> <span class="pre">{"gateway":</span> <span class="pre">"2001:db8:abcd:10::1",</span> <span class="pre">"subnet":</span> <span class="pre">"2001:db8:abcd:10::/64"}]}]</span></code></p>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
@ -162,6 +162,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -394,7 +394,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
</div></td>
|
||||
<td><div class="ansible-option-cell"><p>Facts from created or updated networks</p>
|
||||
<p class="ansible-option-line"><strong class="ansible-option-returned-bold">Returned:</strong> always</p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">[{"cniVersion":</span> <span class="pre">"0.4.0",</span> <span class="pre">"name":</span> <span class="pre">"podman",</span> <span class="pre">"plugins":</span> <span class="pre">[{"bridge":</span> <span class="pre">"cni-podman0",</span> <span class="pre">"ipMasq":</span> <span class="pre">true,</span> <span class="pre">"ipam":</span> <span class="pre">{"ranges":</span> <span class="pre">[[{"gateway":</span> <span class="pre">"10.88.0.1",</span> <span class="pre">"subnet":</span> <span class="pre">"10.88.0.0/16"}]],</span> <span class="pre">"routes":</span> <span class="pre">[{"dst":</span> <span class="pre">"0.0.0.0/0"}],</span> <span class="pre">"type":</span> <span class="pre">"host-local"},</span> <span class="pre">"isGateway":</span> <span class="pre">true,</span> <span class="pre">"type":</span> <span class="pre">"bridge"},</span> <span class="pre">{"capabilities":</span> <span class="pre">{"portMappings":</span> <span class="pre">true},</span> <span class="pre">"type":</span> <span class="pre">"portmap"},</span> <span class="pre">{"backend":</span> <span class="pre">"iptables",</span> <span class="pre">"type":</span> <span class="pre">"firewall"}]}]</span></code></p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">[{"created":</span> <span class="pre">"2024-07-13T15:43:36.548472483+03:00",</span> <span class="pre">"dns_enabled":</span> <span class="pre">true,</span> <span class="pre">"driver":</span> <span class="pre">"bridge",</span> <span class="pre">"id":</span> <span class="pre">"3f46dc2626fe082b1ec703bc74d048765c1110c9eab7d61e33344e212279402c",</span> <span class="pre">"internal":</span> <span class="pre">false,</span> <span class="pre">"ipam_options":</span> <span class="pre">{"driver":</span> <span class="pre">"host-local"},</span> <span class="pre">"ipv6_enabled":</span> <span class="pre">false,</span> <span class="pre">"name":</span> <span class="pre">"virtuals",</span> <span class="pre">"network_interface":</span> <span class="pre">"podman2",</span> <span class="pre">"subnets":</span> <span class="pre">[{"gateway":</span> <span class="pre">"10.99.99.1",</span> <span class="pre">"subnet":</span> <span class="pre">"10.99.99.0/24"}]}]</span></code></p>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
@ -434,6 +434,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -386,6 +386,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -319,6 +319,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -143,6 +143,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -201,6 +201,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@ To check whether it is installed, run <code class="code docutils literal notrans
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -173,6 +173,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -247,6 +247,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -145,6 +145,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -234,6 +234,7 @@ To check whether it is installed, run <code class="code docutils literal notrans
|
|||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
</div></td>
|
||||
<td><div class="ansible-option-cell"><p>Facts from all or specified volumes</p>
|
||||
<p class="ansible-option-line"><strong class="ansible-option-returned-bold">Returned:</strong> always</p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">[{"driver":</span> <span class="pre">"local",</span> <span class="pre">"labels":</span> <span class="pre">{},</span> <span class="pre">"mountPoint":</span> <span class="pre">"/home/ansible/.local/share/testvolume/_data",</span> <span class="pre">"name":</span> <span class="pre">"testvolume",</span> <span class="pre">"options":</span> <span class="pre">{},</span> <span class="pre">"scope":</span> <span class="pre">"local"}]</span></code></p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">[{"CreatedAt":</span> <span class="pre">"2023-11-30T16:41:31.310865559+02:00",</span> <span class="pre">"Driver":</span> <span class="pre">"local",</span> <span class="pre">"Labels":</span> <span class="pre">{},</span> <span class="pre">"LockNumber":</span> <span class="pre">18,</span> <span class="pre">"MountCount":</span> <span class="pre">0,</span> <span class="pre">"Mountpoint":</span> <span class="pre">"/home/user/.local/share/containers/storage/volumes/postgres9/_data",</span> <span class="pre">"Name":</span> <span class="pre">"postgres9",</span> <span class="pre">"NeedsChown":</span> <span class="pre">true,</span> <span class="pre">"NeedsCopyUp":</span> <span class="pre">true,</span> <span class="pre">"Options":</span> <span class="pre">{},</span> <span class="pre">"Scope":</span> <span class="pre">"local"}]</span></code></p>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
@ -161,6 +161,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
</div></td>
|
||||
<td><div class="ansible-option-cell"><p>Volume inspection results if exists.</p>
|
||||
<p class="ansible-option-line"><strong class="ansible-option-returned-bold">Returned:</strong> always</p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">{"CreatedAt":</span> <span class="pre">"2020-06-05T16:38:55.277628769+03:00",</span> <span class="pre">"Driver":</span> <span class="pre">"local",</span> <span class="pre">"Labels":</span> <span class="pre">{"key.com":</span> <span class="pre">"value",</span> <span class="pre">"key.org":</span> <span class="pre">"value2"},</span> <span class="pre">"Mountpoint":</span> <span class="pre">"/home/user/.local/share/containers/storage/volumes/test/_data",</span> <span class="pre">"Name":</span> <span class="pre">"test",</span> <span class="pre">"Options":</span> <span class="pre">{},</span> <span class="pre">"Scope":</span> <span class="pre">"local"}</span></code></p>
|
||||
<p class="ansible-option-line ansible-option-sample"><strong class="ansible-option-sample-bold">Sample:</strong> <code class="ansible-option-sample docutils literal notranslate"><span class="pre">{"CreatedAt":</span> <span class="pre">"2023-11-30T16:41:31.310865559+02:00",</span> <span class="pre">"Driver":</span> <span class="pre">"local",</span> <span class="pre">"Labels":</span> <span class="pre">{},</span> <span class="pre">"LockNumber":</span> <span class="pre">18,</span> <span class="pre">"MountCount":</span> <span class="pre">0,</span> <span class="pre">"Mountpoint":</span> <span class="pre">"/home/user/.local/share/containers/storage/volumes/volname/_data",</span> <span class="pre">"Name":</span> <span class="pre">"volname",</span> <span class="pre">"NeedsChown":</span> <span class="pre">true,</span> <span class="pre">"NeedsCopyUp":</span> <span class="pre">true,</span> <span class="pre">"Options":</span> <span class="pre">{},</span> <span class="pre">"Scope":</span> <span class="pre">"local"}</span></code></p>
|
||||
</div></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
@ -258,6 +258,7 @@ see <a class="reference internal" href="#ansible-collections-containers-podman-p
|
|||
<h3>Navigation</h3>
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@
|
|||
<h3>Navigation</h3>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_module.html">containers.podman.podman_container module – Manage podman containers</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_copy_module.html">containers.podman.podman_container_copy module – Copy file to/from a container</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_exec_module.html">containers.podman.podman_container_exec module – Executes a command in a running container.</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_container_info_module.html">containers.podman.podman_container_info module – Gather facts about containers using podman</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="podman_containers_module.html">containers.podman.podman_containers module – Manage podman containers in a batch</a></li>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1241,110 +1241,264 @@ container:
|
|||
returned: always
|
||||
type: dict
|
||||
sample: '{
|
||||
"AppArmorProfile": "",
|
||||
"Id": "d38a8fcd61ab7e0754355e8fb3acc201e07770f3d1fd8fed36556941ac458ce",
|
||||
"Created": "2024-08-14T00:04:33.127266655+03:00",
|
||||
"Path": "/entrypoint.sh",
|
||||
"Args": [
|
||||
"sh"
|
||||
"/entrypoint.sh"
|
||||
],
|
||||
"State": {
|
||||
"OciVersion": "1.1.0+dev",
|
||||
"Status": "running",
|
||||
"Running": true,
|
||||
"Paused": false,
|
||||
"Restarting": false,
|
||||
"OOMKilled": false,
|
||||
"Dead": false,
|
||||
"Pid": 2434164,
|
||||
"ConmonPid": 2434162,
|
||||
"ExitCode": 0,
|
||||
"Error": "",
|
||||
"StartedAt": "2024-08-14T00:04:33.237286439+03:00",
|
||||
"FinishedAt": "0001-01-01T00:00:00Z",
|
||||
"Health": {
|
||||
"Status": "",
|
||||
"FailingStreak": 0,
|
||||
"Log": null
|
||||
},
|
||||
"CgroupPath": "/user.slice/user-1000.slice/user@1000.service/user.slice/libpod-d38a....scope",
|
||||
"CheckpointedAt": "0001-01-01T00:00:00Z",
|
||||
"RestoredAt": "0001-01-01T00:00:00Z"
|
||||
},
|
||||
"Image": "fe2ba3a8ede60e5938e666b483c3a812ba902dac2303341930fbadc0482592b7",
|
||||
"ImageDigest": "sha256:1222865ed7489298ee28414ddedb63a0c6405938c3a38adf21c8656d7f532271",
|
||||
"ImageName": "registry/org/image:latest",
|
||||
"Rootfs": "",
|
||||
"Pod": "",
|
||||
"ResolvConfPath": "/run/user/1000/containers/overlay-containers/d38a.../userdata/resolv.conf",
|
||||
"HostnamePath": "/run/user/1000/containers/overlay-containers/d38a.../userdata/hostname",
|
||||
"HostsPath": "/run/user/1000/containers/overlay-containers/d38a.../userdata/hosts",
|
||||
"StaticDir": "/home/podman/.local/share/containers/storage/overlay-containers/d38a.../userdata",
|
||||
"OCIConfigPath": "/home/podman/.local/share/containers/....json",
|
||||
"OCIRuntime": "crun",
|
||||
"ConmonPidFile": "/run/user/1000/containers/overlay-containers/d38a.../userdata/conmon.pid",
|
||||
"PidFile": "/run/user/1000/containers/overlay-containers/d38a.../userdata/pidfile",
|
||||
"Name": "costapp",
|
||||
"RestartCount": 0,
|
||||
"Driver": "overlay",
|
||||
"MountLabel": "system_u:object_r:container_file_t:s0:c493,c986",
|
||||
"ProcessLabel": "system_u:system_r:container_t:s0:c493,c986",
|
||||
"AppArmorProfile": "",
|
||||
"EffectiveCaps": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_KILL",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYS_CHROOT"
|
||||
],
|
||||
"BoundingCaps": [
|
||||
"CAP_CHOWN",
|
||||
...
|
||||
],
|
||||
"Config": {
|
||||
"Annotations": {
|
||||
"io.kubernetes.cri-o.ContainerType": "sandbox",
|
||||
"io.kubernetes.cri-o.TTY": "false"
|
||||
},
|
||||
"AttachStderr": false,
|
||||
"AttachStdin": false,
|
||||
"AttachStdout": false,
|
||||
"Cmd": [
|
||||
"sh"
|
||||
],
|
||||
"Domainname": "",
|
||||
"Entrypoint": "",
|
||||
"Env": [
|
||||
"PATH=/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"TERM=xterm",
|
||||
"HOSTNAME=",
|
||||
"container=podman"
|
||||
],
|
||||
"Hostname": "",
|
||||
"Image": "docker.io/library/busybox:latest",
|
||||
"Labels": null,
|
||||
"OpenStdin": false,
|
||||
"StdinOnce": false,
|
||||
"StopSignal": 15,
|
||||
"Tty": false,
|
||||
"User": {
|
||||
"gid": 0,
|
||||
"uid": 0
|
||||
},
|
||||
"Volumes": null,
|
||||
"WorkingDir": "/"
|
||||
},
|
||||
"ConmonPidFile": "...",
|
||||
"Created": "2019-06-17T19:13:09.873858307+03:00",
|
||||
"Dependencies": [],
|
||||
"Driver": "overlay",
|
||||
"EffectiveCaps": [
|
||||
"CAP_CHOWN",
|
||||
...
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_KILL",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYS_CHROOT"
|
||||
],
|
||||
"ExecIDs": [],
|
||||
"ExitCommand": [
|
||||
"/usr/bin/podman",
|
||||
"--root",
|
||||
...
|
||||
],
|
||||
"GraphDriver": {
|
||||
...
|
||||
"Name": "overlay",
|
||||
"Data": {
|
||||
"LowerDir": "/home/podman/.local/share/containers/storage/overlay/29e2.../diff:...",
|
||||
"MergedDir": "/home/podman/.local/share/containers/storage/overlay/865909.../merged",
|
||||
"UpperDir": "/home/podman/.local/share/containers/storage/overlay/865909.../diff",
|
||||
"WorkDir": "/home/podman/.local/share/containers/storage/overlay/865909.../work"
|
||||
}
|
||||
},
|
||||
"Mounts": [],
|
||||
"Dependencies": [],
|
||||
"NetworkSettings": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "",
|
||||
"Bridge": "",
|
||||
"SandboxID": "",
|
||||
"HairpinMode": false,
|
||||
"LinkLocalIPv6Address": "",
|
||||
"LinkLocalIPv6PrefixLen": 0,
|
||||
"Ports": {
|
||||
"80/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8888"
|
||||
}
|
||||
]
|
||||
},
|
||||
"SandboxKey": "/run/user/1000/netns/netns-2343321-795a-8289-14c0-77ee2556ebf1"
|
||||
},
|
||||
"Namespace": "",
|
||||
"IsInfra": false,
|
||||
"IsService": false,
|
||||
"KubeExitCodePropagation": "invalid",
|
||||
"lockNumber": 1417,
|
||||
"Config": {
|
||||
"Hostname": "444a8274863a",
|
||||
"Domainname": "",
|
||||
"User": "",
|
||||
"AttachStdin": false,
|
||||
"AttachStdout": false,
|
||||
"AttachStderr": false,
|
||||
"Tty": false,
|
||||
"OpenStdin": false,
|
||||
"StdinOnce": false,
|
||||
"Env": [
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"container=podman",
|
||||
"HOME=/root",
|
||||
"HOSTNAME=444a8274863a"
|
||||
],
|
||||
"Cmd": null,
|
||||
"Image": "registry/org/image:latest",
|
||||
"Volumes": null,
|
||||
"WorkingDir": "/",
|
||||
"Entrypoint": "/entrypoint.sh",
|
||||
"OnBuild": null,
|
||||
"Labels": {
|
||||
"io.buildah.version": "1.31.2"
|
||||
},
|
||||
"Annotations": {
|
||||
"io.container.manager": "libpod",
|
||||
"org.opencontainers.image.stopSignal": "15"
|
||||
},
|
||||
"StopSignal": 15,
|
||||
"HealthcheckOnFailureAction": "none",
|
||||
"CreateCommand": [
|
||||
"podman",
|
||||
"run",
|
||||
"-d",
|
||||
"--name",
|
||||
"test",
|
||||
"-p",
|
||||
"8888:80",
|
||||
"registry/org/image:latest"
|
||||
],
|
||||
"Umask": "0022",
|
||||
"Timeout": 0,
|
||||
"StopTimeout": 10,
|
||||
"Passwd": true,
|
||||
"sdNotifyMode": "container"
|
||||
},
|
||||
"HostConfig": {
|
||||
...
|
||||
"Binds": [],
|
||||
"CgroupManager": "systemd",
|
||||
"CgroupMode": "private",
|
||||
"ContainerIDFile": "",
|
||||
"LogConfig": {
|
||||
"Type": "journald",
|
||||
"Config": null,
|
||||
"Path": "",
|
||||
"Tag": "",
|
||||
"Size": "0B"
|
||||
},
|
||||
"HostnamePath": "...",
|
||||
"HostsPath": "...",
|
||||
"ID": "...",
|
||||
"Image": "...",
|
||||
"ImageName": "docker.io/library/busybox:latest",
|
||||
"IsInfra": false,
|
||||
"LogPath": "/tmp/container/mycontainer.json",
|
||||
"MountLabel": "system_u:object_r:container_file_t:s0:c282,c782",
|
||||
"Mounts": [
|
||||
...
|
||||
"NetworkMode": "slirp4netns",
|
||||
"PortBindings": {
|
||||
"80/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8888"
|
||||
}
|
||||
]
|
||||
},
|
||||
"RestartPolicy": {
|
||||
"Name": "",
|
||||
"MaximumRetryCount": 0
|
||||
},
|
||||
"AutoRemove": false,
|
||||
"VolumeDriver": "",
|
||||
"VolumesFrom": null,
|
||||
"CapAdd": [],
|
||||
"CapDrop": [],
|
||||
"Dns": [],
|
||||
"DnsOptions": [],
|
||||
"DnsSearch": [],
|
||||
"ExtraHosts": [],
|
||||
"GroupAdd": [],
|
||||
"IpcMode": "shareable",
|
||||
"Cgroup": "",
|
||||
"Cgroups": "default",
|
||||
"Links": null,
|
||||
"OomScoreAdj": 0,
|
||||
"PidMode": "private",
|
||||
"Privileged": false,
|
||||
"PublishAllPorts": false,
|
||||
"ReadonlyRootfs": false,
|
||||
"SecurityOpt": [],
|
||||
"Tmpfs": {},
|
||||
"UTSMode": "private",
|
||||
"UsernsMode": "",
|
||||
"ShmSize": 65536000,
|
||||
"Runtime": "oci",
|
||||
"ConsoleSize": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"Name": "myservice",
|
||||
"Namespace": "",
|
||||
"NetworkSettings": {
|
||||
"Bridge": "",
|
||||
...
|
||||
"Isolation": "",
|
||||
"CpuShares": 0,
|
||||
"Memory": 0,
|
||||
"NanoCpus": 0,
|
||||
"CgroupParent": "user.slice",
|
||||
"BlkioWeight": 0,
|
||||
"BlkioWeightDevice": null,
|
||||
"BlkioDeviceReadBps": null,
|
||||
"BlkioDeviceWriteBps": null,
|
||||
"BlkioDeviceReadIOps": null,
|
||||
"BlkioDeviceWriteIOps": null,
|
||||
"CpuPeriod": 0,
|
||||
"CpuQuota": 0,
|
||||
"CpuRealtimePeriod": 0,
|
||||
"CpuRealtimeRuntime": 0,
|
||||
"CpusetCpus": "",
|
||||
"CpusetMems": "",
|
||||
"Devices": [],
|
||||
"DiskQuota": 0,
|
||||
"KernelMemory": 0,
|
||||
"MemoryReservation": 0,
|
||||
"MemorySwap": 0,
|
||||
"MemorySwappiness": 0,
|
||||
"OomKillDisable": false,
|
||||
"PidsLimit": 2048,
|
||||
"Ulimits": [
|
||||
{
|
||||
"Name": "RLIMIT_NOFILE",
|
||||
"Soft": 524288,
|
||||
"Hard": 524288
|
||||
},
|
||||
"Path": "sh",
|
||||
"ProcessLabel": "system_u:system_r:container_t:s0:c282,c782",
|
||||
"ResolvConfPath": "...",
|
||||
"RestartCount": 0,
|
||||
"Rootfs": "",
|
||||
"State": {
|
||||
"Dead": false,
|
||||
"Error": "",
|
||||
"ExitCode": 0,
|
||||
"FinishedAt": "2019-06-17T19:13:10.157518963+03:00",
|
||||
"Healthcheck": {
|
||||
"FailingStreak": 0,
|
||||
"Log": null,
|
||||
"Status": ""
|
||||
},
|
||||
"OOMKilled": false,
|
||||
"OciVersion": "1.0.1-dev",
|
||||
"Paused": false,
|
||||
"Pid": 4083,
|
||||
"Restarting": false,
|
||||
"Running": false,
|
||||
"StartedAt": "2019-06-17T19:13:10.152479729+03:00",
|
||||
"Status": "exited"
|
||||
},
|
||||
"StaticDir": "..."
|
||||
...
|
||||
{
|
||||
"Name": "RLIMIT_NPROC",
|
||||
"Soft": 256018,
|
||||
"Hard": 256018
|
||||
}
|
||||
],
|
||||
"CpuCount": 0,
|
||||
"CpuPercent": 0,
|
||||
"IOMaximumIOps": 0,
|
||||
"IOMaximumBandwidth": 0,
|
||||
"CgroupConf": null,
|
||||
}'
|
||||
"""
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ __metaclass__ = type
|
|||
DOCUMENTATION = r'''
|
||||
module: podman_container_info
|
||||
author:
|
||||
- Sagi Shnaidman (@sshnaidm)
|
||||
- Sagi Shnaidman (@podman)
|
||||
- Emilien Macchi (@EmilienM)
|
||||
short_description: Gather facts about containers using podman
|
||||
notes:
|
||||
|
|
@ -56,130 +56,123 @@ containers:
|
|||
elements: dict
|
||||
sample: [
|
||||
{
|
||||
"Id": "c5c39f9b80a6ea2ad665aa9946435934e478a0c5322da835f3883872f",
|
||||
"Created": "2019-10-01T12:51:00.233106443Z",
|
||||
"Path": "dumb-init",
|
||||
"Id": "d38a8fcd61ab7e0754355e8fb3acc201e07770f3d1fd8fed36556941ac458ce",
|
||||
"Created": "2024-08-14T00:04:33.127266655+03:00",
|
||||
"Path": "/entrypoint.sh",
|
||||
"Args": [
|
||||
"--single-child",
|
||||
"--",
|
||||
"kolla_start"
|
||||
"/entrypoint.sh"
|
||||
],
|
||||
"State": {
|
||||
"OciVersion": "1.0.1-dev",
|
||||
"Status": "configured",
|
||||
"Running": false,
|
||||
"OciVersion": "1.1.0+dev",
|
||||
"Status": "running",
|
||||
"Running": true,
|
||||
"Paused": false,
|
||||
"Restarting": false,
|
||||
"OOMKilled": false,
|
||||
"Dead": false,
|
||||
"Pid": 0,
|
||||
"Pid": 2434164,
|
||||
"ConmonPid": 2434162,
|
||||
"ExitCode": 0,
|
||||
"Error": "",
|
||||
"StartedAt": "0001-01-01T00:00:00Z",
|
||||
"StartedAt": "2024-08-14T00:04:33.237286439+03:00",
|
||||
"FinishedAt": "0001-01-01T00:00:00Z",
|
||||
"Healthcheck": {
|
||||
"Health": {
|
||||
"Status": "",
|
||||
"FailingStreak": 0,
|
||||
"Log": null
|
||||
}
|
||||
},
|
||||
"Image": "0e267acda67d0ebd643e900d820a91b961d859743039e620191ca1",
|
||||
"ImageName": "docker.io/tripleomaster/centos-haproxy:latest",
|
||||
"CgroupPath": "/user.slice/user-1000.slice/user@1000.service/user.slice/libpod-d38a....scope",
|
||||
"CheckpointedAt": "0001-01-01T00:00:00Z",
|
||||
"RestoredAt": "0001-01-01T00:00:00Z"
|
||||
},
|
||||
"Image": "fe2ba3a8ede60e5938e666b483c3a812ba902dac2303341930fbadc0482592b7",
|
||||
"ImageDigest": "sha256:1222865ed7489298ee28414ddedb63a0c6405938c3a38adf21c8656d7f532271",
|
||||
"ImageName": "registry/org/image:latest",
|
||||
"Rootfs": "",
|
||||
"Pod": "",
|
||||
"ResolvConfPath": "",
|
||||
"HostnamePath": "",
|
||||
"HostsPath": "",
|
||||
"OCIRuntime": "runc",
|
||||
"Name": "haproxy",
|
||||
"ResolvConfPath": "/run/user/1000/containers/overlay-containers/d38a.../userdata/resolv.conf",
|
||||
"HostnamePath": "/run/user/1000/containers/overlay-containers/d38a.../userdata/hostname",
|
||||
"HostsPath": "/run/user/1000/containers/overlay-containers/d38a.../userdata/hosts",
|
||||
"StaticDir": "/home/podman/.local/share/containers/storage/overlay-containers/d38a.../userdata",
|
||||
"OCIConfigPath": "/home/podman/.local/share/containers/....json",
|
||||
"OCIRuntime": "crun",
|
||||
"ConmonPidFile": "/run/user/1000/containers/overlay-containers/d38a.../userdata/conmon.pid",
|
||||
"PidFile": "/run/user/1000/containers/overlay-containers/d38a.../userdata/pidfile",
|
||||
"Name": "costapp",
|
||||
"RestartCount": 0,
|
||||
"Driver": "overlay",
|
||||
"MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c78,c866",
|
||||
"ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c785,c866",
|
||||
"MountLabel": "system_u:object_r:container_file_t:s0:c493,c986",
|
||||
"ProcessLabel": "system_u:system_r:container_t:s0:c493,c986",
|
||||
"AppArmorProfile": "",
|
||||
"EffectiveCaps": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FSETID",
|
||||
"CAP_FOWNER",
|
||||
"CAP_MKNOD",
|
||||
"CAP_NET_RAW",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETUID",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SYS_CHROOT",
|
||||
"CAP_FSETID",
|
||||
"CAP_KILL",
|
||||
"CAP_AUDIT_WRITE"
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYS_CHROOT"
|
||||
],
|
||||
"BoundingCaps": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FSETID",
|
||||
"CAP_FOWNER",
|
||||
"CAP_MKNOD",
|
||||
"CAP_NET_RAW",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETUID",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SYS_CHROOT",
|
||||
"CAP_FSETID",
|
||||
"CAP_KILL",
|
||||
"CAP_AUDIT_WRITE"
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYS_CHROOT"
|
||||
],
|
||||
"ExecIDs": [],
|
||||
"GraphDriver": {
|
||||
"Name": "overlay"
|
||||
"Name": "overlay",
|
||||
"Data": {
|
||||
"LowerDir": "/home/podman/.local/share/containers/storage/overlay/29e2.../diff:...",
|
||||
"MergedDir": "/home/podman/.local/share/containers/storage/overlay/865909.../merged",
|
||||
"UpperDir": "/home/podman/.local/share/containers/storage/overlay/865909.../diff",
|
||||
"WorkDir": "/home/podman/.local/share/containers/storage/overlay/865909.../work"
|
||||
}
|
||||
},
|
||||
"Mounts": [],
|
||||
"Dependencies": [],
|
||||
"NetworkSettings": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "",
|
||||
"Bridge": "",
|
||||
"SandboxID": "",
|
||||
"HairpinMode": false,
|
||||
"LinkLocalIPv6Address": "",
|
||||
"LinkLocalIPv6PrefixLen": 0,
|
||||
"Ports": [],
|
||||
"SandboxKey": "",
|
||||
"SecondaryIPAddresses": null,
|
||||
"SecondaryIPv6Addresses": null,
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"MacAddress": ""
|
||||
"Ports": {
|
||||
"80/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8888"
|
||||
}
|
||||
]
|
||||
},
|
||||
"SandboxKey": "/run/user/1000/netns/netns-2343321-795a-8289-14c0-77ee2556ebf1"
|
||||
},
|
||||
"ExitCommand": [
|
||||
"/usr/bin/podman",
|
||||
"--root",
|
||||
"/var/lib/containers/storage",
|
||||
"--runroot",
|
||||
"/var/run/containers/storage",
|
||||
"--log-level",
|
||||
"error",
|
||||
"--cgroup-manager",
|
||||
"systemd",
|
||||
"--tmpdir",
|
||||
"/var/run/libpod",
|
||||
"--runtime",
|
||||
"runc",
|
||||
"--storage-driver",
|
||||
"overlay",
|
||||
"--events-backend",
|
||||
"journald",
|
||||
"container",
|
||||
"cleanup",
|
||||
"c9e813703f9b80a6ea2ad665aa9946435934e478a0c5322da835f3883872f"
|
||||
],
|
||||
"Namespace": "",
|
||||
"IsInfra": false,
|
||||
"IsService": false,
|
||||
"KubeExitCodePropagation": "invalid",
|
||||
"lockNumber": 1417,
|
||||
"Config": {
|
||||
"Hostname": "c5c39e813703",
|
||||
"Hostname": "444a8274863a",
|
||||
"Domainname": "",
|
||||
"User": "",
|
||||
"AttachStdin": false,
|
||||
|
|
@ -189,53 +182,63 @@ containers:
|
|||
"OpenStdin": false,
|
||||
"StdinOnce": false,
|
||||
"Env": [
|
||||
"PATH=/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"TERM=xterm",
|
||||
"HOSTNAME=",
|
||||
"container=oci",
|
||||
"KOLLA_INSTALL_METATYPE=rdo",
|
||||
"KOLLA_BASE_DISTRO=centos",
|
||||
"KOLLA_INSTALL_TYPE=binary",
|
||||
"KOLLA_DISTRO_PYTHON_VERSION=2.7",
|
||||
"KOLLA_BASE_ARCH=x86_64"
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"container=podman",
|
||||
"HOME=/root",
|
||||
"HOSTNAME=444a8274863a"
|
||||
],
|
||||
"Cmd": [
|
||||
"kolla_start"
|
||||
],
|
||||
"Image": "docker.io/tripleomaster/centos-haproxy:latest",
|
||||
"Cmd": null,
|
||||
"Image": "registry/org/image:latest",
|
||||
"Volumes": null,
|
||||
"WorkingDir": "/",
|
||||
"Entrypoint": "dumb-init --single-child --",
|
||||
"Entrypoint": "/entrypoint.sh",
|
||||
"OnBuild": null,
|
||||
"Labels": {
|
||||
"build-date": "20190919",
|
||||
"kolla_version": "8.1.0",
|
||||
"name": "haproxy",
|
||||
"org.label-schema.build-date": "20190801",
|
||||
"org.label-schema.license": "GPLv2",
|
||||
"org.label-schema.name": "CentOS Base Image",
|
||||
"org.label-schema.schema-version": "1.0",
|
||||
"org.label-schema.vendor": "CentOS"
|
||||
"io.buildah.version": "1.31.2"
|
||||
},
|
||||
"Annotations": {
|
||||
"io.kubernetes.cri-o.ContainerType": "sandbox",
|
||||
"io.kubernetes.cri-o.TTY": "false",
|
||||
"io.podman.annotations.autoremove": "FALSE",
|
||||
"io.podman.annotations.init": "FALSE",
|
||||
"io.podman.annotations.privileged": "FALSE",
|
||||
"io.podman.annotations.publish-all": "FALSE"
|
||||
"io.container.manager": "libpod",
|
||||
"org.opencontainers.image.stopSignal": "15"
|
||||
},
|
||||
"StopSignal": 15
|
||||
"StopSignal": 15,
|
||||
"HealthcheckOnFailureAction": "none",
|
||||
"CreateCommand": [
|
||||
"podman",
|
||||
"run",
|
||||
"-d",
|
||||
"--name",
|
||||
"test",
|
||||
"-p",
|
||||
"8888:80",
|
||||
"registry/org/image:latest"
|
||||
],
|
||||
"Umask": "0022",
|
||||
"Timeout": 0,
|
||||
"StopTimeout": 10,
|
||||
"Passwd": true,
|
||||
"sdNotifyMode": "container"
|
||||
},
|
||||
"HostConfig": {
|
||||
"Binds": [],
|
||||
"CgroupManager": "systemd",
|
||||
"CgroupMode": "private",
|
||||
"ContainerIDFile": "",
|
||||
"LogConfig": {
|
||||
"Type": "k8s-file",
|
||||
"Config": null
|
||||
"Type": "journald",
|
||||
"Config": null,
|
||||
"Path": "",
|
||||
"Tag": "",
|
||||
"Size": "0B"
|
||||
},
|
||||
"NetworkMode": "slirp4netns",
|
||||
"PortBindings": {
|
||||
"80/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "8888"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NetworkMode": "default",
|
||||
"PortBindings": {},
|
||||
"RestartPolicy": {
|
||||
"Name": "",
|
||||
"MaximumRetryCount": 0
|
||||
|
|
@ -250,17 +253,18 @@ containers:
|
|||
"DnsSearch": [],
|
||||
"ExtraHosts": [],
|
||||
"GroupAdd": [],
|
||||
"IpcMode": "",
|
||||
"IpcMode": "shareable",
|
||||
"Cgroup": "",
|
||||
"Cgroups": "default",
|
||||
"Links": null,
|
||||
"OomScoreAdj": 0,
|
||||
"PidMode": "",
|
||||
"PidMode": "private",
|
||||
"Privileged": false,
|
||||
"PublishAllPorts": false,
|
||||
"ReadonlyRootfs": false,
|
||||
"SecurityOpt": [],
|
||||
"Tmpfs": {},
|
||||
"UTSMode": "",
|
||||
"UTSMode": "private",
|
||||
"UsernsMode": "",
|
||||
"ShmSize": 65536000,
|
||||
"Runtime": "oci",
|
||||
|
|
@ -272,7 +276,7 @@ containers:
|
|||
"CpuShares": 0,
|
||||
"Memory": 0,
|
||||
"NanoCpus": 0,
|
||||
"CgroupParent": "",
|
||||
"CgroupParent": "user.slice",
|
||||
"BlkioWeight": 0,
|
||||
"BlkioWeightDevice": null,
|
||||
"BlkioDeviceReadBps": null,
|
||||
|
|
@ -290,25 +294,26 @@ containers:
|
|||
"KernelMemory": 0,
|
||||
"MemoryReservation": 0,
|
||||
"MemorySwap": 0,
|
||||
"MemorySwappiness": -1,
|
||||
"MemorySwappiness": 0,
|
||||
"OomKillDisable": false,
|
||||
"PidsLimit": 0,
|
||||
"PidsLimit": 2048,
|
||||
"Ulimits": [
|
||||
{
|
||||
"Name": "RLIMIT_NOFILE",
|
||||
"Soft": 1048576,
|
||||
"Hard": 1048576
|
||||
"Soft": 524288,
|
||||
"Hard": 524288
|
||||
},
|
||||
{
|
||||
"Name": "RLIMIT_NPROC",
|
||||
"Soft": 1048576,
|
||||
"Hard": 1048576
|
||||
"Soft": 256018,
|
||||
"Hard": 256018
|
||||
}
|
||||
],
|
||||
"CpuCount": 0,
|
||||
"CpuPercent": 0,
|
||||
"IOMaximumIOps": 0,
|
||||
"IOMaximumBandwidth": 0
|
||||
"IOMaximumBandwidth": 0,
|
||||
"CgroupConf": null,
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -347,117 +347,67 @@ RETURN = r"""
|
|||
type: dict
|
||||
sample: [
|
||||
{
|
||||
"Annotations": {},
|
||||
"Architecture": "amd64",
|
||||
"Author": "",
|
||||
"Comment": "from Bitnami with love",
|
||||
"ContainerConfig": {
|
||||
"Cmd": [
|
||||
"/run.sh"
|
||||
"Id": "6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f",
|
||||
"Digest": "sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10",
|
||||
"RepoTags": [
|
||||
"docker.io/library/alpine:3.7"
|
||||
],
|
||||
"Entrypoint": [
|
||||
"/app-entrypoint.sh"
|
||||
"RepoDigests": [
|
||||
"docker.io/library/alpine@sha256:8421...",
|
||||
"docker.io/library/alpine@sha256:9225..."
|
||||
],
|
||||
"Parent": "",
|
||||
"Comment": "",
|
||||
"Created": "2019-03-07T22:19:53.447205048Z",
|
||||
"Config": {
|
||||
"Env": [
|
||||
"PATH=/opt/bitnami/java/bin:/opt/bitnami/wildfly/bin:/opt/bitnami/nami/bin:...",
|
||||
"IMAGE_OS=debian-9",
|
||||
"NAMI_VERSION=1.0.0-1",
|
||||
"GPG_KEY_SERVERS_LIST=ha.pool.sks-keyservers.net",
|
||||
"TINI_VERSION=v0.13.2",
|
||||
"TINI_GPG_KEY=595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7",
|
||||
"GOSU_VERSION=1.10",
|
||||
"GOSU_GPG_KEY=B42F6819007F00F88E364FD4036A9C25BF357DD4",
|
||||
"BITNAMI_IMAGE_VERSION=16.0.0-debian-9-r27",
|
||||
"BITNAMI_PKG_CHMOD=-R g+rwX",
|
||||
"BITNAMI_PKG_EXTRA_DIRS=/home/wildfly",
|
||||
"HOME=/",
|
||||
"BITNAMI_APP_NAME=wildfly",
|
||||
"NAMI_PREFIX=/.nami",
|
||||
"WILDFLY_HOME=/home/wildfly",
|
||||
"WILDFLY_JAVA_HOME=",
|
||||
"WILDFLY_JAVA_OPTS=",
|
||||
"WILDFLY_MANAGEMENT_HTTP_PORT_NUMBER=9990",
|
||||
"WILDFLY_PASSWORD=bitnami",
|
||||
"WILDFLY_PUBLIC_CONSOLE=true",
|
||||
"WILDFLY_SERVER_AJP_PORT_NUMBER=8009",
|
||||
"WILDFLY_SERVER_HTTP_PORT_NUMBER=8080",
|
||||
"WILDFLY_SERVER_INTERFACE=0.0.0.0",
|
||||
"WILDFLY_USERNAME=user",
|
||||
"WILDFLY_WILDFLY_HOME=/home/wildfly",
|
||||
"WILDFLY_WILDFLY_OPTS=-Dwildfly.as.deployment.ondemand=false"
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
],
|
||||
"ExposedPorts": {
|
||||
"8080/tcp": {},
|
||||
"9990/tcp": {}
|
||||
"Cmd": [
|
||||
"/bin/sh"
|
||||
],
|
||||
"ArgsEscaped": true
|
||||
},
|
||||
"Labels": {
|
||||
"maintainer": "Bitnami <containers@bitnami.com>"
|
||||
},
|
||||
"User": "1001"
|
||||
},
|
||||
"Created": "2019-04-10T05:48:03.553887623Z",
|
||||
"Digest": "sha256:5a8ab28e314c2222de3feaf6dac94a0436a37fc08979d2722c99d2bef2619a9b",
|
||||
"Version": "18.06.1-ce",
|
||||
"Author": "",
|
||||
"Architecture": "amd64",
|
||||
"Os": "linux",
|
||||
"Size": 4467084,
|
||||
"VirtualSize": 4467084,
|
||||
"GraphDriver": {
|
||||
"Name": "overlay",
|
||||
"Data": {
|
||||
"LowerDir": "/var/lib/containers/storage/overlay/142c1beadf1bb09fbd929465e..../diff:/var/lib/containers/s",
|
||||
"MergedDir": "/var/lib/containers/storage/overlay/9aa10191f5bddb59e28508e721fdeb43505e5b395845fa99/merged",
|
||||
"UpperDir": "/var/lib/containers/storage/overlay/9aa10191f5bddb59e28508e721fdeb43505e5b395845fa99/diff",
|
||||
"WorkDir": "/var/lib/containers/storage/overlay/9aa10191f5bddb59e28508e721fdeb43505e5b395845fa99/work"
|
||||
"UpperDir": "/home/user/.local/share/containers/storage/overlay/3fc6.../diff",
|
||||
"WorkDir": "/home/user/.local/share/containers/storage/overlay/3fc6.../work"
|
||||
}
|
||||
},
|
||||
"Name": "overlay"
|
||||
"RootFS": {
|
||||
"Type": "layers",
|
||||
"Layers": [
|
||||
"sha256:3fc6..."
|
||||
]
|
||||
},
|
||||
"Labels": null,
|
||||
"Annotations": {},
|
||||
"ManifestType": "application/vnd.docker.distribution.manifest.v2+json",
|
||||
"User": "",
|
||||
"History": [
|
||||
{
|
||||
"comment": "from Bitnami with love",
|
||||
"created": "2019-04-09T22:27:40.659377677Z"
|
||||
"created": "2019-03-07T22:19:53.313789681Z",
|
||||
"created_by": "/bin/sh -c #(nop) ADD file:aa17928... in / "
|
||||
},
|
||||
{
|
||||
"created": "2019-04-09T22:38:53.86336555Z",
|
||||
"created_by": "/bin/sh -c #(nop) LABEL maintainer=Bitnami <containers@bitnami.com>",
|
||||
"created": "2019-03-07T22:19:53.447205048Z",
|
||||
"created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
|
||||
"empty_layer": true
|
||||
},
|
||||
{
|
||||
"created": "2019-04-09T22:38:54.022778765Z",
|
||||
"created_by": "/bin/sh -c #(nop) ENV IMAGE_OS=debian-9",
|
||||
"empty_layer": true
|
||||
},
|
||||
}
|
||||
],
|
||||
"Id": "ace34da54e4af2145e1ad277005adb235a214e4dfe1114c2db9ab460b840f785",
|
||||
"Labels": {
|
||||
"maintainer": "Bitnami <containers@bitnami.com>"
|
||||
},
|
||||
"ManifestType": "application/vnd.docker.distribution.manifest.v1+prettyjws",
|
||||
"Os": "linux",
|
||||
"Parent": "",
|
||||
"RepoDigests": [
|
||||
"quay.io/bitnami/wildfly@sha256:5a8ab28e314c2222de3feaf6dac94a0436a37fc08979d2722c99d2bef2619a9b"
|
||||
],
|
||||
"RepoTags": [
|
||||
"quay.io/bitnami/wildfly:latest"
|
||||
],
|
||||
"RootFS": {
|
||||
"Layers": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"Type": "layers"
|
||||
},
|
||||
"Size": 466180019,
|
||||
"User": "1001",
|
||||
"Version": "18.09.3",
|
||||
"VirtualSize": 466180019
|
||||
"NamesHistory": [
|
||||
"docker.io/library/alpine:3.7"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
"""
|
||||
|
||||
import json # noqa: E402
|
||||
|
|
|
|||
|
|
@ -51,95 +51,71 @@ images:
|
|||
type: list
|
||||
sample: [
|
||||
{
|
||||
"Annotations": {},
|
||||
"Architecture": "amd64",
|
||||
"Author": "",
|
||||
"Comment": "from Bitnami with love",
|
||||
"ContainerConfig": {
|
||||
"Cmd": [
|
||||
"nami",
|
||||
"start",
|
||||
"--foreground",
|
||||
"wildfly"
|
||||
"Id": "029bed813f07be84fae0344cbf8076ced5ea3c929d5f064ba617ac7d8c610a4b",
|
||||
"Digest": "sha256:3362f865019db5f14ac5154cb0db2c3741ad1cce0416045be422ad4de441b081",
|
||||
"RepoTags": [
|
||||
"docker.io/library/alpine:3.15",
|
||||
"quay.io/podman/alpine:3.15",
|
||||
"quay.io/podman/alpine:3.15"
|
||||
],
|
||||
"Entrypoint": [
|
||||
"/app-entrypoint.sh"
|
||||
"RepoDigests": [
|
||||
"docker.io/library/alpine@sha256:3362f865019db5f14ac5154cb0db2c3741ad1cce0416045be422ad4de441b081",
|
||||
"docker.io/library/alpine@sha256:c58a2fce65cb3487f965d2fb08eec4843384dbe29264f427b665421db1aabef2",
|
||||
"quay.io/podman/alpine@sha256:3362f865019db5f14ac5154cb0db2c3741ad1cce0416045be422ad4de441b081",
|
||||
"quay.io/podman/alpine@sha256:c58a2fce65cb3487f965d2fb08eec4843384dbe29264f427b665421db1aabef2",
|
||||
"quay.io/podman/alpine@sha256:3362f865019db5f14ac5154cb0db2c3741ad1cce0416045be422ad4de441b081",
|
||||
"quay.io/podman/alpine@sha256:c58a2fce65cb3487f965d2fb08eec4843384dbe29264f427b665421db1aabef2"
|
||||
],
|
||||
"Parent": "",
|
||||
"Comment": "",
|
||||
"Created": "2023-06-14T20:42:13.993588153Z",
|
||||
"Config": {
|
||||
"Env": [
|
||||
"PATH=/opt/bitnami/java/bin:/opt/bitnami/wildfly/bin:/opt/bitnami/nami/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"IMAGE_OS=debian-9",
|
||||
"NAMI_VERSION=0.0.9-0",
|
||||
"GPG_KEY_SERVERS_LIST=ha.pool.sks-keyservers.net \
|
||||
hkp://p80.pool.sks-keyservers.net:80 keyserver.ubuntu.com hkp://keyserver.ubuntu.com:80 pgp.mit.edu",
|
||||
"TINI_VERSION=v0.13.2",
|
||||
"TINI_GPG_KEY=595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7",
|
||||
"GOSU_VERSION=1.10",
|
||||
"GOSU_GPG_KEY=B42F6819007F00F88E364FD4036A9C25BF357DD4",
|
||||
"BITNAMI_IMAGE_VERSION=14.0.1-debian-9-r12",
|
||||
"BITNAMI_APP_NAME=wildfly",
|
||||
"WILDFLY_JAVA_HOME=",
|
||||
"WILDFLY_JAVA_OPTS=",
|
||||
"WILDFLY_MANAGEMENT_HTTP_PORT_NUMBER=9990",
|
||||
"WILDFLY_PASSWORD=bitnami",
|
||||
"WILDFLY_PUBLIC_CONSOLE=true",
|
||||
"WILDFLY_SERVER_AJP_PORT_NUMBER=8009",
|
||||
"WILDFLY_SERVER_HTTP_PORT_NUMBER=8080",
|
||||
"WILDFLY_SERVER_INTERFACE=0.0.0.0",
|
||||
"WILDFLY_USERNAME=user",
|
||||
"WILDFLY_WILDFLY_HOME=/home/wildfly",
|
||||
"WILDFLY_WILDFLY_OPTS=-Dwildfly.as.deployment.ondemand=false"
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
],
|
||||
"ExposedPorts": {
|
||||
"8080/tcp": {},
|
||||
"9990/tcp": {}
|
||||
"Cmd": [
|
||||
"/bin/sh"
|
||||
]
|
||||
},
|
||||
"Labels": {
|
||||
"maintainer": "Bitnami <containers@bitnami.com>"
|
||||
"Version": "20.10.23",
|
||||
"Author": "",
|
||||
"Architecture": "amd64",
|
||||
"Os": "linux",
|
||||
"Size": 11745350,
|
||||
"VirtualSize": 11745350,
|
||||
"GraphDriver": {
|
||||
"Name": "overlay",
|
||||
"Data": {
|
||||
"UpperDir": "/home/podman/.local/share/containers/storage/overlay/579b.../diff",
|
||||
"WorkDir": "/home/podman/.local/share/containers/storage/overlay/579b.../work"
|
||||
}
|
||||
},
|
||||
"Created": "2018-09-25T04:07:45.934395523Z",
|
||||
"Digest": "sha256:5c7d8e2dd66dcf4a152a4032a1d3c5a33458c67e1c1335edd8d18d738892356b",
|
||||
"GraphDriver": {
|
||||
"Data": {
|
||||
"LowerDir": "/var/lib/containers/storage/overlay/a9dbf5616cc16919a8ac0dfc60aff87a72b5be52994c4649fcc91a089a12931\
|
||||
f/diff:/var/lib/containers/storage/overlay/67129bd46022122a7d8b7acb490092af6c7ce244ce4fbd7d9e2d2b7f5979e090/diff:/var/lib/containers/storage/overlay/7c51242c\
|
||||
4c5db5c74afda76d7fdbeab6965d8b21804bb3fc597dee09c770b0ca/diff:/var/lib/containers/storage/overlay/f97315dc58a9c002ba0cabccb9933d4b0d2113733d204188c88d72f75569b57b/diff:/var/lib/containers/storage/overlay/1dbde2dd497ddde2b467727125b900958a051a72561e58d29abe3d660dcaa9a7/diff:/var/lib/containers/storage/overlay/4aad9d80f30c3f0608f58173558b7554d84dee4dc4479672926eca29f75e6e33/diff:/var/lib/containers/storage/overlay/6751fc9b6868254870c062d75a511543fc8cfda2ce6262f4945f107449219632/diff:/var/lib/containers/storage/overlay/a27034d79081347421dd24d7e9e776c18271cd9a6e51053cb39af4d3d9c400e8/diff:/var/lib/containers/storage/overlay/537cf0045ed9cd7989f7944e7393019c81b16c1799a2198d8348cd182665397f/diff:/var/lib/containers/storage/overlay/27578615c5ae352af4e8449862d61aaf5c11b105a7d5905af55bd01b0c656d6e/diff:/var/lib/containers/storage/overlay/566542742840fe3034b3596f7cb9e62a6274c95a69f368f9e713746f8712c0b6/diff",
|
||||
"MergedDir": "/var/lib/containers/storage/overlay/72bb96d6\
|
||||
c53ad57a0b1e44cab226a6251598accbead40b23fac89c19ad8c25ca/merged",
|
||||
"UpperDir": "/var/lib/containers/storage/overlay/72bb96d6c53ad57a0b1e44cab226a6251598accbead40b23fac89c19ad8c25ca/diff",
|
||||
"WorkDir": "/var/lib/containers/storage/overlay/72bb96d6c53ad57a0b1e44cab226a6251598accbead40b23fac89c19ad8c25ca/work"
|
||||
},
|
||||
"Name": "overlay"
|
||||
},
|
||||
"Id": "bcacbdf7a119c0fa934661ca8af839e625ce6540d9ceb6827cdd389f823d49e0",
|
||||
"Labels": {
|
||||
"maintainer": "Bitnami <containers@bitnami.com>"
|
||||
},
|
||||
"ManifestType": "application/vnd.docker.distribution.manifest.v1+prettyjws",
|
||||
"Os": "linux",
|
||||
"Parent": "",
|
||||
"RepoDigests": [
|
||||
"quay.io/bitnami/wildfly@sha256:5c7d8e2dd66dcf4a152a4032a1d3c5a33458c67e1c1335edd8d18d738892356b"
|
||||
],
|
||||
"RepoTags": [
|
||||
"quay.io/bitnami/wildfly:latest"
|
||||
],
|
||||
"RootFS": {
|
||||
"Type": "layers",
|
||||
"Layers": [
|
||||
"sha256:75391df2c87e076b0c2f72d20c95c57dc8be7ee684cc07273416cce622b43367",
|
||||
"sha256:7dd303f041039bfe8f0833092673ac35f93137d10e0fbc4302021ea65ad57731",
|
||||
"sha256:720d9edf0cd2a9bb56b88b80be9070dbfaad359514c70094c65066963fed485d",
|
||||
"sha256:6a567ecbf97725501a634fcb486271999aa4591b633b4ae9932a46b40f5aaf47",
|
||||
"sha256:59e9a6db8f178f3da868614564faabb2820cdfb69be32e63a4405d6f7772f68c",
|
||||
"sha256:310a82ccb092cd650215ab375da8943d235a263af9a029b8ac26a281446c04db",
|
||||
"sha256:36cb91cf4513543a8f0953fed785747ea18b675bc2677f3839889cfca0aac79e"
|
||||
],
|
||||
"Type": "layers"
|
||||
"sha256:579b..."
|
||||
]
|
||||
},
|
||||
"Size": 569919342,
|
||||
"Labels": null,
|
||||
"Annotations": {},
|
||||
"ManifestType": "application/vnd.docker.distribution.manifest.v2+json",
|
||||
"User": "",
|
||||
"Version": "17.06.0-ce",
|
||||
"VirtualSize": 569919342
|
||||
"History": [
|
||||
{
|
||||
"created": "2023-06-14T20:42:13.893052319Z",
|
||||
"created_by": "/bin/sh -c #(nop) ADD file:234234234 in / "
|
||||
},
|
||||
{
|
||||
"created": "2023-06-14T20:42:13.993588153Z",
|
||||
"created_by": "/bin/sh -c #(nop) CMD [\"/bin/sh\"]",
|
||||
"empty_layer": true
|
||||
}
|
||||
],
|
||||
"NamesHistory": [
|
||||
"quay.io/podman/alpine:3.15",
|
||||
"quay.io/podman/alpine:3.15",
|
||||
"docker.io/library/alpine:3.15"
|
||||
]
|
||||
}
|
||||
]
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -229,42 +229,23 @@ network:
|
|||
type: list
|
||||
sample: [
|
||||
{
|
||||
"cniVersion": "0.4.0",
|
||||
"name": "podman",
|
||||
"plugins": [
|
||||
"name": "virtuals",
|
||||
"id": "3f46dc2626fe082b1ec703bc74d048765c1110c9eab7d61e33344e212279402c",
|
||||
"driver": "bridge",
|
||||
"network_interface": "podman2",
|
||||
"created": "2024-07-13T15:43:36.548472483+03:00",
|
||||
"subnets": [
|
||||
{
|
||||
"bridge": "cni-podman0",
|
||||
"ipMasq": true,
|
||||
"ipam": {
|
||||
"ranges": [
|
||||
[
|
||||
{
|
||||
"gateway": "10.88.0.1",
|
||||
"subnet": "10.88.0.0/16"
|
||||
}
|
||||
]
|
||||
],
|
||||
"routes": [
|
||||
{
|
||||
"dst": "0.0.0.0/0"
|
||||
"subnet": "10.99.99.0/24",
|
||||
"gateway": "10.99.99.1"
|
||||
}
|
||||
],
|
||||
"type": "host-local"
|
||||
},
|
||||
"isGateway": true,
|
||||
"type": "bridge"
|
||||
},
|
||||
{
|
||||
"capabilities": {
|
||||
"portMappings": true
|
||||
},
|
||||
"type": "portmap"
|
||||
},
|
||||
{
|
||||
"backend": "iptables",
|
||||
"type": "firewall"
|
||||
"ipv6_enabled": false,
|
||||
"internal": false,
|
||||
"dns_enabled": true,
|
||||
"ipam_options": {
|
||||
"driver": "host-local"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -46,42 +46,33 @@ networks:
|
|||
type: list
|
||||
sample: [
|
||||
{
|
||||
"cniVersion": "0.4.0",
|
||||
"name": "podman",
|
||||
"plugins": [
|
||||
"name": "dmz",
|
||||
"id": "3227f9785ae4657c022c8da7b0e04d2d124199e66da10a9130437e3c3f0e0e42",
|
||||
"driver": "macvlan",
|
||||
"created": "2024-05-27T21:09:03.486699659+03:00",
|
||||
"subnets": [
|
||||
{
|
||||
"bridge": "cni-podman0",
|
||||
"ipMasq": true,
|
||||
"ipam": {
|
||||
"ranges": [
|
||||
[
|
||||
{
|
||||
"gateway": "10.88.0.1",
|
||||
"subnet": "10.88.0.0/16"
|
||||
"subnet": "10.10.0.0/24",
|
||||
"gateway": "10.10.0.1",
|
||||
"lease_range": {
|
||||
"start_ip": "10.10.0.249",
|
||||
"end_ip": "10.10.0.255"
|
||||
}
|
||||
]
|
||||
],
|
||||
"routes": [
|
||||
},
|
||||
{
|
||||
"dst": "0.0.0.0/0"
|
||||
"subnet": "2001:db8:abcd:10::/64",
|
||||
"gateway": "2001:db8:abcd:10::1"
|
||||
}
|
||||
],
|
||||
"type": "host-local"
|
||||
"ipv6_enabled": true,
|
||||
"internal": false,
|
||||
"dns_enabled": false,
|
||||
"options": {
|
||||
"no_default_route": "true"
|
||||
},
|
||||
"isGateway": true,
|
||||
"type": "bridge"
|
||||
},
|
||||
{
|
||||
"capabilities": {
|
||||
"portMappings": true
|
||||
},
|
||||
"type": "portmap"
|
||||
},
|
||||
{
|
||||
"backend": "iptables",
|
||||
"type": "firewall"
|
||||
"ipam_options": {
|
||||
"driver": "host-local"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -488,36 +488,115 @@ requirements:
|
|||
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
RETURN = r'''
|
||||
pod:
|
||||
description: Pod inspection results for the given pod
|
||||
built.
|
||||
returned: always
|
||||
type: dict
|
||||
sample:
|
||||
Config:
|
||||
cgroupParent: /libpod_parent
|
||||
created: '2020-06-14T15:16:12.230818767+03:00'
|
||||
hostname: newpod
|
||||
id: a5a5c6cdf8c72272fc5c33f787e8d7501e2fa0c1e92b2b602860defdafeeec58
|
||||
infraConfig:
|
||||
infraPortBindings: null
|
||||
makeInfraContainer: true
|
||||
labels: {}
|
||||
lockID: 515
|
||||
name: newpod
|
||||
sharesCgroup: true
|
||||
sharesIpc: true
|
||||
sharesNet: true
|
||||
sharesUts: true
|
||||
Containers:
|
||||
- id: dc70a947c7ae15198ec38b3c817587584085dee3919cbeb9969e3ab77ba10fd2
|
||||
state: configured
|
||||
State:
|
||||
cgroupPath: /libpod_parent/a5a5c6cdf8c72272fc5c33f787e8d7501e2fa0c1e92b2b602860defdafeeec58
|
||||
infraContainerID: dc70a947c7ae15198ec38b3c817587584085dee3919cbeb9969e3ab77ba10fd2
|
||||
status: Created
|
||||
|
||||
{
|
||||
"Id": "a99a41b8fa77d8c7ff1c432a7a21bc0c2afd8c13b94a9d9b9b19b66ae97920c1",
|
||||
"Name": "pod_name",
|
||||
"Created": "2024-05-28T20:41:09.946926613+03:00",
|
||||
"CreateCommand": [
|
||||
"podman",
|
||||
"pod",
|
||||
"create",
|
||||
"--name",
|
||||
"pod_name",
|
||||
"--infra=True",
|
||||
"--userns",
|
||||
"auto",
|
||||
"--security-opt",
|
||||
"seccomp=unconfined",
|
||||
"--security-opt",
|
||||
"apparmor=unconfined",
|
||||
"--hostname",
|
||||
"mypod",
|
||||
"--dns",
|
||||
"1.1.1.2",
|
||||
"--label",
|
||||
"key=cval",
|
||||
"--label",
|
||||
"otherkey=kddkdk",
|
||||
"--label",
|
||||
"somekey=someval",
|
||||
"--add-host",
|
||||
"google:5.5.5.5",
|
||||
"--volume",
|
||||
"/tmp/test//:/data2"
|
||||
],
|
||||
"ExitPolicy": "continue",
|
||||
"State": "Created",
|
||||
"Hostname": "mypod",
|
||||
"Labels": {
|
||||
"key": "cval",
|
||||
"otherkey": "kddkdk",
|
||||
"somekey": "someval"
|
||||
},
|
||||
"CreateCgroup": true,
|
||||
"CgroupParent": "user.slice",
|
||||
"CgroupPath": "user.slice/user-1000.slice/user@1000.service/user.slice/....slice",
|
||||
"CreateInfra": true,
|
||||
"InfraContainerID": "37f960e6c8accc6b5b41945b1dcf03a28d3a366f7f37049748f18b21c44f577e",
|
||||
"InfraConfig": {
|
||||
"PortBindings": {},
|
||||
"HostNetwork": false,
|
||||
"StaticIP": "",
|
||||
"StaticMAC": "",
|
||||
"NoManageResolvConf": false,
|
||||
"DNSServer": [
|
||||
"1.1.1.2"
|
||||
],
|
||||
"DNSSearch": null,
|
||||
"DNSOption": null,
|
||||
"NoManageHosts": false,
|
||||
"HostAdd": [
|
||||
"google:5.5.5.5"
|
||||
],
|
||||
"Networks": null,
|
||||
"NetworkOptions": null,
|
||||
"pid_ns": "private",
|
||||
"userns": "host",
|
||||
"uts_ns": "private"
|
||||
},
|
||||
"SharedNamespaces": [
|
||||
"user",
|
||||
"uts",
|
||||
"ipc",
|
||||
"net"
|
||||
],
|
||||
"NumContainers": 1,
|
||||
"Containers": [
|
||||
{
|
||||
"Id": "37f960e6c8accc6b5b41945b1dcf03a28d3a366f7f37049748f18b21c44f577e",
|
||||
"Name": "a99a49b8fa77-infra",
|
||||
"State": "created"
|
||||
}
|
||||
],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "bind",
|
||||
"Source": "/tmp/test",
|
||||
"Destination": "/data2",
|
||||
"Driver": "",
|
||||
"Mode": "",
|
||||
"Options": [
|
||||
"nosuid",
|
||||
"nodev",
|
||||
"rbind"
|
||||
],
|
||||
"RW": true,
|
||||
"Propagation": "rprivate"
|
||||
}
|
||||
],
|
||||
"security_opt": [
|
||||
"seccomp=unconfined",
|
||||
"apparmor=unconfined"
|
||||
],
|
||||
"LockNumber": 1
|
||||
}
|
||||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
|
|
|
|||
|
|
@ -46,42 +46,106 @@ pods:
|
|||
type: list
|
||||
sample: [
|
||||
{
|
||||
"Config": {
|
||||
"id": "d9cb6dbb0....",
|
||||
"name": "pod1",
|
||||
"hostname": "pod1host",
|
||||
"labels": {
|
||||
"Id": "a99a41b8fa77d8c7ff1c432a7a21bc0c2afd8c13b94a9d9b9b19b66ae97920c1",
|
||||
"Name": "pod_name",
|
||||
"Created": "2024-05-28T20:41:09.946926613+03:00",
|
||||
"CreateCommand": [
|
||||
"podman",
|
||||
"pod",
|
||||
"create",
|
||||
"--name",
|
||||
"pod_name",
|
||||
"--infra=True",
|
||||
"--userns",
|
||||
"auto",
|
||||
"--security-opt",
|
||||
"seccomp=unconfined",
|
||||
"--security-opt",
|
||||
"apparmor=unconfined",
|
||||
"--hostname",
|
||||
"mypod",
|
||||
"--dns",
|
||||
"1.1.1.2",
|
||||
"--label",
|
||||
"key=cval",
|
||||
"--label",
|
||||
"otherkey=kddkdk",
|
||||
"--label",
|
||||
"somekey=someval",
|
||||
"--add-host",
|
||||
"google:5.5.5.5",
|
||||
"--volume",
|
||||
"/tmp/test//:/data2"
|
||||
],
|
||||
"ExitPolicy": "continue",
|
||||
"State": "Created",
|
||||
"Hostname": "mypod",
|
||||
"Labels": {
|
||||
"key": "cval",
|
||||
"otherkey": "kddkdk",
|
||||
"somekey": "someval"
|
||||
},
|
||||
"cgroupParent": "/libpod_parent",
|
||||
"sharesCgroup": true,
|
||||
"sharesIpc": true,
|
||||
"sharesNet": true,
|
||||
"sharesUts": true,
|
||||
"infraConfig": {
|
||||
"makeInfraContainer": true,
|
||||
"infraPortBindings": [
|
||||
{
|
||||
"hostPort": 7777,
|
||||
"containerPort": 7111,
|
||||
"protocol": "tcp",
|
||||
"hostIP": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"created": "2020-07-13T20:29:12.572282186+03:00",
|
||||
"lockID": 682
|
||||
},
|
||||
"State": {
|
||||
"cgroupPath": "/libpod_parent/d9cb6dbb0....",
|
||||
"infraContainerID": "ad46737bf....",
|
||||
"status": "Created"
|
||||
"CreateCgroup": true,
|
||||
"CgroupParent": "user.slice",
|
||||
"CgroupPath": "user.slice/user-1000.slice/user@1000.service/user.slice/....slice",
|
||||
"CreateInfra": true,
|
||||
"InfraContainerID": "37f960e6c8accc6b5b41945b1dcf03a28d3a366f7f37049748f18b21c44f577e",
|
||||
"InfraConfig": {
|
||||
"PortBindings": {},
|
||||
"HostNetwork": false,
|
||||
"StaticIP": "",
|
||||
"StaticMAC": "",
|
||||
"NoManageResolvConf": false,
|
||||
"DNSServer": [
|
||||
"1.1.1.2"
|
||||
],
|
||||
"DNSSearch": null,
|
||||
"DNSOption": null,
|
||||
"NoManageHosts": false,
|
||||
"HostAdd": [
|
||||
"google:5.5.5.5"
|
||||
],
|
||||
"Networks": null,
|
||||
"NetworkOptions": null,
|
||||
"pid_ns": "private",
|
||||
"userns": "host",
|
||||
"uts_ns": "private"
|
||||
},
|
||||
"SharedNamespaces": [
|
||||
"user",
|
||||
"uts",
|
||||
"ipc",
|
||||
"net"
|
||||
],
|
||||
"NumContainers": 1,
|
||||
"Containers": [
|
||||
{
|
||||
"id": "ad46737bf....",
|
||||
"state": "configured"
|
||||
"Id": "37f960e6c8accc6b5b41945b1dcf03a28d3a366f7f37049748f18b21c44f577e",
|
||||
"Name": "a99a49b8fa77-infra",
|
||||
"State": "created"
|
||||
}
|
||||
]
|
||||
],
|
||||
"mounts": [
|
||||
{
|
||||
"Type": "bind",
|
||||
"Source": "/tmp/test",
|
||||
"Destination": "/data2",
|
||||
"Driver": "",
|
||||
"Mode": "",
|
||||
"Options": [
|
||||
"nosuid",
|
||||
"nodev",
|
||||
"rbind"
|
||||
],
|
||||
"RW": true,
|
||||
"Propagation": "rprivate"
|
||||
}
|
||||
],
|
||||
"security_opt": [
|
||||
"seccomp=unconfined",
|
||||
"apparmor=unconfined"
|
||||
],
|
||||
"LockNumber": 1
|
||||
}
|
||||
]
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -95,13 +95,15 @@ volume:
|
|||
returned: always
|
||||
type: dict
|
||||
sample:
|
||||
CreatedAt: '2020-06-05T16:38:55.277628769+03:00'
|
||||
CreatedAt: '2023-11-30T16:41:31.310865559+02:00'
|
||||
Driver: local
|
||||
Labels:
|
||||
key.com: value
|
||||
key.org: value2
|
||||
Mountpoint: /home/user/.local/share/containers/storage/volumes/test/_data
|
||||
Name: test
|
||||
Labels: {}
|
||||
LockNumber: 18
|
||||
MountCount: 0
|
||||
Mountpoint: /home/user/.local/share/containers/storage/volumes/volname/_data
|
||||
Name: volname
|
||||
NeedsChown: true
|
||||
NeedsCopyUp: true
|
||||
Options: {}
|
||||
Scope: local
|
||||
|
||||
|
|
|
|||
|
|
@ -45,12 +45,17 @@ volumes:
|
|||
type: list
|
||||
sample: [
|
||||
{
|
||||
"name": "testvolume",
|
||||
"labels": {},
|
||||
"mountPoint": "/home/ansible/.local/share/testvolume/_data",
|
||||
"driver": "local",
|
||||
"options": {},
|
||||
"scope": "local"
|
||||
"Name": "postgres9",
|
||||
"Driver": "local",
|
||||
"Mountpoint": "/home/user/.local/share/containers/storage/volumes/postgres9/_data",
|
||||
"CreatedAt": "2023-11-30T16:41:31.310865559+02:00",
|
||||
"Labels": {},
|
||||
"Scope": "local",
|
||||
"Options": {},
|
||||
"MountCount": 0,
|
||||
"NeedsCopyUp": true,
|
||||
"NeedsChown": true,
|
||||
"LockNumber": 18
|
||||
}
|
||||
]
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue