The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
34Modules4Plugins
NetApp StorageGRID Collection
=============================================================
netapp.storagegrid
NetApp StorageGRID Collection
Copyright (c) 2020 NetApp, Inc. All rights reserved. Specifications subject to change without notice.
=============================================================
ansible-galaxy collection install netapp.storagegrid
To use this collection add the following to the top of your playbook.
collections:
- netapp.storagegrid
Each of the StorageGRID modules require an auth_token
parameter to be specified. This can be obtained by executing a uri
task against the StorageGRID Authorization API endpoint and registering the output as the first item in a Playbook.
If you are performing a Tenant operation, ensure that the accountId
parameter is also specified in the URI body and set to the Tenant Account ID. For example, "accountId": "01234567890123456789"
- name: Get Grid Authorization token
uri:
url: "https://sgadmin.example.com/api/v3/authorize"
method: POST
body: {
"username": "root",
"password": "storagegrid123",
"cookie": false,
"csrfToken": false
}
body_format: json
validate_certs: false
register: auth
Subsequent tasks can leverage the registered auth token.
- name: Create a StorageGRID Tenant Account
netapp.storagegrid.na_sg_grid_account:
api_url: "https://sgadmin.example.com"
auth_token: "{{ auth.json.data }}"
validate_certs: false
state: present
name: AnsibleTenant
protocol: s3
management: true
use_own_identity_source: true
allow_platform_services: true
password: "mytenantrootpassword"
quota_size: 10
https://docs.ansible.com/ansible/latest/collections/netapp/storagegrid
Releasing, Versioning and Deprecation
Join our Discord and look for our #ansible channel.
This collection follows the Ansible project's Code of Conduct.
na_sg_org_container
module to manage bucket.na_sg_grid_account
module to manage tenant account.capacity_limit
added for bucket, requires storageGRID 11.9 or later.allow_compliance_mode
and max_retention_days
added for tenant account, requires storageGRID 11.9 or later.read_only
added for grid groups.read_only
added for tenant groups.enable_tenant_manager
, enable_grid_manager
and node_type
added to support management interfaces.description
for setting additional identifying information for the tenant account.allow_select_object_content
for enabling use of the S3 SelectObjectContent API.s3_policy
is ignored if management_policy
is set.name
and port
.state
is set to absent
.root_access_account
for granting initial root access permissions for the tenant to an existing federated groupThis version introduces a breaking change. All modules have been renamed from nac_sg_*
to na_sg_*
. Playbooks and Roles must be updated to match.
no_log
flag to password fieldsupdate_password
for managing Tenant Account root password changespassword
and update_password
for setting or updating Tenant User passwordspassword
and update_password
for setting or updating Grid Admin User passwordsInitial release of NetApp StorageGRID Ansible modules
GNU General Public License v3.0 See LICENSE to see the full text.
Product |
---|
Red Hat Ansible Automation Platform 2.5 |