netapp_eseries.santricity.na_santricity_proxy_drive_firmware_upload 模块 – NetApp E 系列管理代理驱动器固件文件

注意

此模块是 netapp_eseries.santricity 集合 (版本 1.4.1) 的一部分。

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

要安装它,请使用: ansible-galaxy collection install netapp_eseries.santricity

要在 playbook 中使用它,请指定: netapp_eseries.santricity.na_santricity_proxy_drive_firmware_upload

概要

  • 确保驱动器固件文件可在 SANtricity Web Service Proxy 上使用。

参数

参数

注释

api_password

字符串 / 必需

用于向 SANtricity Web Services Proxy 或嵌入式 Web 服务 API 进行身份验证的密码。

api_url

字符串 / 必需

SANtricity Web Services Proxy 或嵌入式 Web 服务 API 的 URL。

示例 https://prod-1.wahoo.acme.com:8443/devmgr/v2

api_username

字符串 / 必需

用于向 SANtricity Web Services Proxy 或嵌入式 Web 服务 API 进行身份验证的用户名。

firmware

列表 / 元素=字符串

此选项可以是包含驱动器固件的文件路径和/或目录的列表。

请注意,只有扩展名为 .dlp 的文件才会尝试添加到代理;所有其他文件都将被忽略。

NetApp E 系列驱动器需要特殊的固件,可以从 https://mysupport.netapp.com/NOW/download/tools/diskfw_eseries/ 下载

validate_certs

布尔值

是否应验证 https 证书?

选项

  • false

  • true ← (默认)

备注

注意

  • E 系列 Ansible 模块需要 Web Services Proxy (WSP) 实例才能管理存储系统,或者需要支持嵌入式 Web 服务 API 的 E 系列存储系统。

  • 嵌入式 Web 服务目前在 E2800、E5700、EF570 和更新的硬件型号上可用。

  • netapp_eseries.santricity.netapp_e_storage_system 可用于配置由 WSP 实例管理的系统。

示例

- name: Ensure correct firmware versions
  na_santricity_proxy_drive_firmware_upload:
    api_url: "https://192.168.1.100:8443/devmgr/v2"
    api_username: "admin"
    api_password: "adminpass"
    validate_certs: true
    firmware:
        - "path/to/drive_firmware_file1.dlp"
        - "path/to/drive_firmware_file2.dlp"
        - "path/to/drive_firmware_directory"

返回值

常见的返回值已在 此处 记录,以下是此模块特有的字段

描述

msg

字符串

SANtricity Web Services Proxy 上的驱动器固件集合是否已进行任何更改。

返回:始终

作者

  • Nathan Swartz (@swartzn)

  • Vu Tran (@VuTran007)