netapp_eseries.santricity.na_santricity_proxy_firmware_upload 模块 – NetApp E 系列管理代理固件上传。
注意
此模块是 netapp_eseries.santricity 集合 (版本 1.4.1) 的一部分。
如果您使用的是 ansible
包,则可能已经安装了此集合。它不包含在 ansible-core
中。要检查它是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install netapp_eseries.santricity
。
要在剧本中使用它,请指定:netapp_eseries.santricity.na_santricity_proxy_firmware_upload
。
概要
确保 SANtricity Web Services Proxy 上提供特定版本的固件。
参数
参数 |
注释 |
---|---|
用于向 SANtricity Web Services Proxy 或嵌入式 Web Services API 进行身份验证的密码。 |
|
SANtricity Web Services Proxy 或嵌入式 Web Services API 的 URL。 |
|
用于向 SANtricity Web Services Proxy 或嵌入式 Web Services API 进行身份验证的用户名。 |
|
包含固件/NVSRAM 文件的路径和/或目录列表。 如果存在未指定的所有固件/NVSRAM 文件都将从代理中删除。 |
|
是否应验证 https 证书? 选项
|
备注
注意
E 系列 Ansible 模块需要 Web Services Proxy (WSP) 实例才能管理存储系统,或者需要支持嵌入式 Web Services API 的 E 系列存储系统。
嵌入式 Web Services 目前适用于 E2800、E5700、EF570 和更新的硬件型号。
netapp_eseries.santricity.netapp_e_storage_system 可用于配置由 WSP 实例管理的系统。
示例
- name: Ensure proxy has the expected firmware versions.
na_santricity_proxy_firmware_upload:
api_url: "https://192.168.1.100:8443/devmgr/v2"
api_username: "admin"
api_password: "adminpass"
validate_certs: true
firmware:
- "path/to/firmware/dlp_files"
- "path/to/nvsram.dlp"
- "path/to/firmware.dlp"
返回值
常见的返回值已在 此处 记录,以下是此模块特有的字段
键 |
描述 |
---|---|
固件和 NVSRAM 的状态和版本。 返回值:始终 |