netapp_eseries.santricity.netapp_e_storage_system 模块 – NetApp E 系列 Web 服务代理管理存储阵列
注意
此模块是 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_storage_system
。
netapp_eseries.santricity 2.2.0 中的新功能
概要
管理通过 NetApp Web Services Proxy 访问的 NetApp E 系列存储阵列。
参数
参数 |
注释 |
---|---|
使用 SANtricity WebServices Proxy 或嵌入式 REST API 进行身份验证的密码。 |
|
SANtricity WebServices Proxy 或嵌入式 REST API 的 URL。 |
|
使用 SANtricity WebServices Proxy 或嵌入式 REST API 进行身份验证的用户名。 |
|
如果要设置,则为要管理的阵列的管理密码。 |
|
以秒为单位的阵列状态超时时间 默认值: |
|
要管理的阵列的 WWN。仅当在同一代理主机上带内管理多个阵列时才需要。与 controller_addresses 参数互斥。 |
|
带外管理适配器或代理主机的地址列表。与 array_wwn 参数互斥。 |
|
为对存储系统的 SYMbol 调用启用跟踪日志记录。 选择
|
|
要与此存储系统关联的可选元标记 |
|
要管理的阵列的 ID。此值对于每个阵列都必须是唯一的。 |
|
是否应在 Web Services Proxy 上配置指定的阵列。 选择
|
|
是否应验证 https 证书? 选择
|
示例
---
- name: Presence of storage system
netapp_e_storage_system:
ssid: "{{ item.key }}"
state: present
api_url: "{{ netapp_api_url }}"
api_username: "{{ netapp_api_username }}"
api_password: "{{ netapp_api_password }}"
validate_certs: "{{ netapp_api_validate_certs }}"
controller_addresses:
- "{{ item.value.address1 }}"
- "{{ item.value.address2 }}"
with_dict: "{{ storage_systems }}"
when: check_storage_system
返回值
常见返回值记录在此处,以下是此模块特有的字段
键 |
描述 |
---|---|
请求的状态 已返回: 始终 示例: |