netapp_eseries.santricity.netapp_e_global 模块 – 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.netapp_e_global

netapp_eseries.santricity 2.7.0 中的新增功能

概要

  • 允许用户配置与 E 系列存储系统关联的多个全局设置

参数

参数

注释

api_password

字符串 / 必需

用于验证 SANtricity Web Services Proxy 或嵌入式 Web Services API 的密码。

api_url

字符串 / 必需

SANtricity Web Services Proxy 或嵌入式 Web Services API 的 URL。示例 https://prod-1.wahoo.acme.com/devmgr/v2

api_username

字符串 / 必需

用于验证 SANtricity Web Services Proxy 或嵌入式 Web Services API 的用户名。

log_path

字符串

用于调试日志记录的本地文件路径

名称

别名:标签

字符串

设置 E 系列存储系统的名称

此标签/名称不必唯一。

长度最多可达 30 个字符。

ssid

字符串

要管理的阵列的 ID。此值对于每个阵列必须唯一。

默认值: "1"

validate_certs

布尔值

是否应验证 https 证书?

选项

  • false

  • true ← (默认)

备注

注意

  • 支持检查模式。

  • 此模块需要 Web Services API v1.3 或更高版本。

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

  • 嵌入式 Web Services 目前适用于 E2800、E5700、EF570 和更新的硬件型号。

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

示例

- name: Set the storage-system name
  netapp_e_global:
    name: myArrayName
    api_url: "10.1.1.1:8443"
    api_username: "admin"
    api_password: "myPass"

返回值

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

描述

msg

字符串

成功消息

返回:成功时

示例: "设置已更新。"

name

字符串

存储系统的当前名称/标签。

返回:成功时

示例: "myArrayName"

作者

  • Michael Price (@lmprice)