community.general.incus 连接 – 通过 Incus CLI 在 Incus 实例中运行任务。
注意
此连接插件是 community.general 集合 (版本 10.1.0) 的一部分。
如果您正在使用 ansible
包,您可能已经安装了此集合。它不包含在 ansible-core
中。要检查它是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用: ansible-galaxy collection install community.general
。
要在剧本中使用它,请指定: community.general.incus
。
community.general 8.2.0 中的新增功能
概要
使用 Incus CLI 运行命令或将文件放入/获取到现有的 Incus 实例。
参数
参数 |
注释 |
---|---|
在实例内使用的 shell。 默认值: 配置
|
|
要使用的 Incus 项目名称(根据 项目用于划分服务器上运行的实例。 默认值: 配置
|
|
要使用的 Incus 远程名称(根据 远程用于从单个客户端访问多个服务器。 默认值: 配置
|
|
实例标识符。 默认值: 配置
|