community.general.pbrun become – PowerBroker 运行
注意
此 become 插件是 community.general 集合 (版本 10.1.0) 的一部分。
如果您使用的是 ansible 包,则可能已安装此集合。它不包含在 ansible-core 中。要检查它是否已安装,请运行 ansible-galaxy collection list。
要安装它,请使用: ansible-galaxy collection install community.general。
要在剧本中使用它,请指定: community.general.pbrun。
概要
- 此 become 插件允许您的远程/登录用户通过 pbrun 实用程序以另一个用户身份执行命令。 
参数
| 参数 | 注释 | 
|---|---|
| Sudo 可执行文件。 默认值:  配置 
 | |
| 传递给 pbrun 的选项。 默认值:  配置 
 | |
| pbrun 的密码。 配置 
 | |
| 您要“成为”以执行任务的用户。 默认值:  配置 
 | |
| 切换是否将 pbrun 调用的命令包装在  选项 
 配置 
 | 
