netapp.storagegrid.na_sg_grid_regions 模块 – NetApp StorageGRID 管理网格的区域。
注意
此模块是 netapp.storagegrid 集合(版本 21.13.0)的一部分。
如果您使用的是 ansible
包,您可能已经安装了此集合。它不包含在 ansible-core
中。要检查是否已安装,请运行 ansible-galaxy collection list
。
要安装它,请使用:ansible-galaxy collection install netapp.storagegrid
。
要在 Playbook 中使用它,请指定:netapp.storagegrid.na_sg_grid_regions
。
netapp.storagegrid 20.6.0 中的新增功能
概要
在 NetApp StorageGRID 租户中创建、更新、删除用户。
参数
参数 |
注释 |
---|---|
StorageGRID 管理节点 REST API 的 URL。 |
|
API 请求的授权令牌 |
|
区域列表 |
|
指定的用户是否应该存在。 选项
|
|
是否应验证 https 证书? 选项
|
注释
注意
以
na_sg
为前缀的模块旨在管理 NetApp StorageGRID。
示例
- name: update Regions
netapp.storagegrid.na_sg_grid_regions:
api_url: "https://<storagegrid-endpoint-url>"
auth_token: "storagegrid-auth-token"
validate_certs: false
state: present
regions: "us-east-1"
返回值
常见的返回值记录在 此处,以下是此模块特有的字段
键 |
描述 |
---|---|
返回有关配置区域的信息。 返回:成功 示例: |