{"id":21217028,"url":"https://github.com/ansible-collections/netapp.storagegrid","last_synced_at":"2025-06-17T23:04:08.218Z","repository":{"id":45297996,"uuid":"364679958","full_name":"ansible-collections/netapp.storagegrid","owner":"ansible-collections","description":"Ansible collection to support NetApp StorageGrid configuration.","archived":false,"fork":false,"pushed_at":"2025-06-16T21:06:54.000Z","size":525,"stargazers_count":9,"open_issues_count":15,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-16T22:23:19.283Z","etag":null,"topics":["ansible","ansible-collection","netapp","storagegrid"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/netapp/storagegrid","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansible-collections.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-05-05T19:05:12.000Z","updated_at":"2025-06-16T21:06:59.000Z","dependencies_parsed_at":"2024-02-25T00:30:51.562Z","dependency_job_id":"e06d53fa-4c99-4486-8aa0-8f817a51f86a","html_url":"https://github.com/ansible-collections/netapp.storagegrid","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/ansible-collections/netapp.storagegrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-collections%2Fnetapp.storagegrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-collections%2Fnetapp.storagegrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-collections%2Fnetapp.storagegrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-collections%2Fnetapp.storagegrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansible-collections","download_url":"https://codeload.github.com/ansible-collections/netapp.storagegrid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible-collections%2Fnetapp.storagegrid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260453718,"owners_count":23011572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-collection","netapp","storagegrid"],"created_at":"2024-11-20T21:56:44.914Z","updated_at":"2025-06-17T23:04:03.203Z","avatar_url":"https://github.com/ansible-collections.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![example workflow](https://github.com/ansible-collections/netapp.storagegrid/actions/workflows/main.yml/badge.svg)\n[![codecov](https://codecov.io/gh/ansible-collections/netapp.storagegrid/branch/main/graph/badge.svg?token=weBYkksxSi)](https://codecov.io/gh/ansible-collections/netapp.storagegrid)\n[![Discord](https://img.shields.io/discord/855068651522490400)](https://discord.gg/NetApp)\n\n\n=============================================================\n\n netapp.storagegrid\n\n NetApp StorageGRID Collection\n\n Copyright (c) 2020 NetApp, Inc. All rights reserved.\n Specifications subject to change without notice.\n\n=============================================================\n\n# Installation\n\n```bash\nansible-galaxy collection install netapp.storagegrid\n```\nTo use this collection add the following to the top of your playbook.\n```\ncollections:\n  - netapp.storagegrid\n```\n\n# Usage\n\nEach 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.\n\nIf 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\"`\n\n```yaml\n- name: Get Grid Authorization token\n  uri:\n    url: \"https://sgadmin.example.com/api/v3/authorize\"\n    method: POST\n    body: {\n      \"username\": \"root\",\n      \"password\": \"storagegrid123\",\n      \"cookie\": false,\n      \"csrfToken\": false\n    }\n    body_format: json\n    validate_certs: false\n  register: auth\n```\n\nSubsequent tasks can leverage the registered auth token.\n\n```yaml\n- name: Create a StorageGRID Tenant Account\n  netapp.storagegrid.na_sg_grid_account:\n    api_url: \"https://sgadmin.example.com\"\n    auth_token: \"{{ auth.json.data }}\"\n    validate_certs: false\n    state: present\n    name: AnsibleTenant\n    protocol: s3\n    management: true\n    use_own_identity_source: true\n    allow_platform_services: true\n    password: \"mytenantrootpassword\"\n    quota_size: 10\n```\n\n# Versioning\n\n[Releasing, Versioning and Deprecation](https://github.com/ansible-collections/netapp/issues/93)\n\n# Need help\n\nJoin our [Discord](https://discord.gg/NetApp)\n\n# Code of Conduct\n\nThis collection follows the [Ansible project's Code of Conduct](https://docs.ansible.com/ansible/devel/community/code_of_conduct.html).\n\n# Release Notes\n\n## 21.13.0\n\n### Minor Changes\n- updated pipleine.\n\n## 21.12.0\n\n### Minor Changes\n  - na_sg_grid_account - New option ``description`` for setting additional identifying information for the tenant account.\n  - na_sg_grid_account - New option ``allow_select_object_content`` for enabling use of the S3 SelectObjectContent API.\n\n### Bug Fixes\n  - Removed fetch limit in API request and implemented pagination.\n\n## 21.11.1\n\n### Bug Fixes\n  - na_sg_org_container - fix versioning not enabled on initial bucket creation.\n\n## 21.11.0\n\n### Minor Changes\n  - na_sg_org_container - supports versioning configuration for S3 buckets available in StorageGRID 11.6+.\n\n### New Modules\n  - na_sg_grid_client_certificate - Manage Client Certificates on StorageGRID.\n  \n## 21.10.0\n\n### Minor Changes\n  - na_sg_grid_gateway - supports specifying HA Groups by name or UUID.\n\n### Bug Fixes\n  - na_sg_org_group - fixed behaviour where update to ``s3_policy`` is ignored if ``management_policy`` is set.\n\n### New Modules\n  - na_sg_grid_ha_group - Manage high availability (HA) group configuration on StorageGRID.\n  - na_sg_grid_traffic_classes - Manage Traffic Classification Policy configuration on StorageGRID.\n  \n## 21.9.0\n  \n### Minor Changes\n  - na_sg_grid_gateway - supports load balancer endpoint binding available in StorageGRID 11.5+.\n  - na_sg_org_container - supports creation of S3 Object Lock buckets available in StorageGRID 11.5+.\n\n### Bug Fixes\n  - na_sg_grid_gateway - existing endpoints matched by ``name`` and ``port``.\n  - na_sg_grid_account - minor documentation fix.\n\n## 21.8.0\n\n### Minor Changes\n  - all modules - enable usage of Ansible module group defaults - for Ansible 2.12+.\n\n## 21.7.0\n\n### New Modules\n\n- na_sg_grid_gateway: Manage Load balancer (gateway) endpoints\n\n### Minor Changes\n- Updated documentation - added RETURN block for each module\n\n## 21.6.0\n\n### New Modules\n\n- na_sg_grid_certificate: Manage the Storage API and Grid Management certificates on StorageGRID.\n- na_sg_grid_identity_federation: Manage Grid identity federation.\n- na_sg_org_identity_federation: Manage Tenant identity federation.\n\n### Minor Changes\n- na_sg_org_container - supports deletion of buckets when `state` is set to `absent`.\n\n### Bug Fixes\n- na_sg_org_container - fix issue with applying compliance settings on buckets.\n\n## 20.11.0\n\n### New Modules\n\n- na_sg_grid_info: Gather StorageGRID Grig subset information\n- na_sg_org_info: Gather StorageGRID Org subset information\n\n### Minor Changes\n\n- na_sg_grid_account: new option `root_access_account` for granting initial root access permissions for the tenant to an existing federated group\n\n## 20.10.0\n\n### Breaking Changes\n\nThis version introduces a breaking change. All modules have been renamed from `nac_sg_*` to `na_sg_*`. Playbooks and Roles must be updated to match.\n\n### Bug Fixes\n\n- na_sg_grid_account: fixed documentation issue.\n- na_sg_grid_account: added `no_log` flag to password fields\n- na_sg_grid_group: fixed group name parsing\n- na_sg_org_group: fixed group name parsing\n\n### New Options\n\n- na_sg_grid_account: new option `update_password` for managing Tenant Account root password changes\n- na_sg_org_user: new option `password` and `update_password` for setting or updating Tenant User passwords\n- na_sg_grid_user: new option `password` and `update_password` for setting or updating Grid Admin User passwords\n\n## 20.6.1\n\n### Minor Changes\n- Fixed documentation issue in README.md\n\n### Bug Fixes\n- nac_sg_org_container: fixed documentation issue.\n\n## 20.6.0\n\nInitial release of NetApp StorageGRID Ansible modules\n\n### New Modules\n\n- nac_sg_grid_account: create/modify/delete Tenant account\n- nac_sg_grid_dns: set Grid DNS servers\n- nac_sg_grid_group: create/modify/delete Grid admin group\n- nac_sg_grid_ntp: set Grid NTP servers\n- nac_sg_grid_regions: set Grid Regions\n- nac_sg_grid_user: create/modify/delete Grid admin user\n- nac_sg_org_container: create S3 bucket\n- nac_sg_org_group: create/modify/delete Tenant group\n- nac_sg_org_user: create/modify/delete Tenant user\n- nac_sg_org_user_s3_key: create/delete S3 key\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-collections%2Fnetapp.storagegrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansible-collections%2Fnetapp.storagegrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible-collections%2Fnetapp.storagegrid/lists"}