community.windows.win_rabbitmq_plugin 模块 – 管理 RabbitMQ 插件
注意
此模块是 community.windows 集合 (版本 2.3.0) 的一部分。
如果您使用的是 ansible 包,则可能已安装此集合。它不包含在 ansible-core 中。要检查它是否已安装,请运行 ansible-galaxy collection list。
要安装它,请使用: ansible-galaxy collection install community.windows。
要在 playbook 中使用它,请指定: community.windows.win_rabbitmq_plugin。
概要
- 管理 RabbitMQ 插件。 
参数
| 参数 | 注释 | 
|---|---|
| 用逗号分隔的插件名称列表。 | |
| 仅启用缺少的插件。 不禁用不在 names 列表中的插件。 选项 
 | |
| 指定 Rabbit 的自定义安装前缀。 | |
| 指定插件是启用还是禁用。 选项 
 | 
示例
- name: Enables the rabbitmq_management plugin
  community.windows.win_rabbitmq_plugin:
    names: rabbitmq_management
    state: enabled
返回值
常见的返回值已在 此处 记录,以下是此模块独有的字段
| 键 | 描述 | 
|---|---|
| 在任务运行期间禁用的插件列表。 返回: 始终 示例:  | |
| 在任务运行期间启用的插件列表。 返回: 始终 示例:  | 
