community.general.jail 连接 – 在 Jail 中运行任务
注意
此连接插件是 community.general 集合 (版本 10.1.0) 的一部分。
如果您正在使用 ansible
包,则您可能已经安装了此集合。它不包含在 ansible-core
中。要检查它是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install community.general
。
要在 playbook 中使用它,请指定:community.general.jail
。
概要
运行命令或将文件放入/取出到现有的 jail
参数
参数 |
注释 |
---|---|
Jail 的路径 默认值: 配置
|
|
在 jail 内以其执行的用户 配置
|