containers.podman.podman 连接 – 与现有 Podman 容器交互
注意
此连接插件是 containers.podman 集合 (版本 1.16.2) 的一部分。
如果您使用的是 ansible 包,则可能已安装此集合。它不包含在 ansible-core 中。要检查它是否已安装,请运行 ansible-galaxy collection list。
要安装它,请使用: ansible-galaxy collection install containers.podman。
要在剧本中使用它,请指定: containers.podman.podman。
概要
- 使用 podman 工具运行命令或将文件放入/获取到现有容器中。 
参数
| 参数 | 注释 | 
|---|---|
| 传递给 podman 命令行的额外参数。 默认值:  配置 
 | |
| 您要访问的容器的 ID。 默认值:  配置 
 | |
| 通过名称或 UID 指定的用户,用于在容器内执行命令。如果您通过 UID 指定用户,则必须将  配置 
 | 
