第 5 章 RHEL 中的 Redfish 模块
用于远程管理设备的 Redfish 模块现在是 redhat.rhel_mgmt
Ansible 集合的一部分。通过 Redfish 模块,您可以使用标准 HTTPS 传输和 JSON 格式获取服务器或控制它们的信息,轻松在裸机服务器和平台硬件上轻松使用管理自动化。
5.1. Redfish 模块
redhat.rhel_mgmt
Ansible 集合提供了 Redfish 模块,以支持 Ansible over Redfish 中的硬件管理。redhat.rhel_mgmt
集合位于 ansible-collection-redhat-rhel_mgmt
软件包中。要安装它,请参阅使用 CLI 安装 redhat.rhel_mgmt Collection。
以下 Redfish 模块包括在 redhat.rhel_mgmt
集合中:
-
redfish_info
:redfish_info
模块检索关于远程 Out-Of-Band (OOB) 控制器(如系统清单)的信息。 -
redfish_command
:redfish_command
模块执行 Out-Of-Band (OOB) 控制器操作,如日志管理和用户管理,以及系统重启、打开和关闭电源操作等。 -
redfish_config
:redfish_config
模块执行 OOB 控制器操作,如更改 OOB 配置或设置 BIOS 配置。