community.general.qubes 连接 – 与现有的 QubesOS AppVM 交互

注意

此连接插件是 community.general 集合(版本 10.1.0)的一部分。

如果您使用的是 ansible 包,您可能已经安装了此集合。它不包含在 ansible-core 中。要检查是否已安装,请运行 ansible-galaxy collection list

要安装它,请使用:ansible-galaxy collection install community.general

要在 playbook 中使用它,请指定:community.general.qubes

概要

  • 使用 qubes 工具在现有的 Qubes AppVM 中运行命令或放置/获取文件。

参数

参数

注释

remote_addr

字符串

虚拟机名称。

默认值: "inventory_hostname"

配置

  • 变量:ansible_host

remote_user

字符串

在虚拟机内部执行的用户。

默认值: "Qubes OS 中默认的 I(user) 帐户。"

配置

  • 变量:ansible_user

作者

  • Kushal Das (@kushaldas)

提示

每个条目类型的配置条目都具有从低到高的优先级顺序。例如,列表中较低的变量将覆盖较高的变量。