netapp.storagegrid.na_sg_org_group module – NetApp StorageGRID manage groups within a tenancy.
Note
This module is part of the netapp.storagegrid collection (version 21.11.1).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netapp.storagegrid
.
To use it in a playbook, specify: netapp.storagegrid.na_sg_org_group
.
New in netapp.storagegrid 20.6.0
Synopsis
Create, Update, Delete Groups within NetApp StorageGRID tenant.
Parameters
Parameter |
Comments |
---|---|
The url to the StorageGRID Admin Node REST API. |
|
The authorization token for the API request |
|
Name of the group. Required for create operation. |
|
Management access controls granted to the group within the tenancy. |
|
Allows users to manage the settings for all S3 buckets in the tenant account, regardless of S3 bucket or group policies. Choices:
|
|
Allows users to use the Tenant Manager or the Tenant Management API to create or edit endpoints. Endpoints are used as the destination for StorageGRID platform services. Choices:
|
|
Allows users to create and remove their own S3 access keys. Users who do not have this permission do not see the S3 > My Credentials menu option. Choices:
|
|
Provides full access to the Tenant Manager and the Tenant Management API. Choices:
|
|
StorageGRID S3 Group Policy. Default: |
|
Whether the specified group should exist or not. Choices:
|
|
Unique Name for the group. Must begin with Required for create, modify or delete operation. |
|
Should https certificates be validated? Choices:
|
Notes
Note
The modules prefixed with
na_sg
are built to manage NetApp StorageGRID.
Examples
- name: create a group
netapp.storagegrid.na_sg_org_group:
api_url: "https://<storagegrid-endpoint-url>"
auth_token: "storagegrid-auth-token"
validate_certs: false
state: present
display_name: ansiblegroup1
unique_name: group/ansiblegroup1
management_policy:
manage_all_containers: true
manage_endpoints: true
manage_own_s3_credentials: false
root_access: false
s3_policy: {"Statement":[{"Effect":"Deny","Action":"s3:*","Resource":"arn:aws:s3:::*"}]}
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Returns information about the StorageGRID tenant group attributes. Returned: success Sample: |