netapp.storagegrid.nac_sg_grid_user (20.6.1) — module

NetApp StorageGRID manage users.

| "added in version" 20.6.0 of netapp.storagegrid"

Authors: NetApp Ansible Team (@joshedmonds) <ng-ansibleteam@netapp.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install netapp.storagegrid:==20.6.1


Add to requirements.yml

  collections:
    - name: netapp.storagegrid
      version: 20.6.1

Description

Create, Update, Delete Administrative Users within NetApp StorageGRID.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: create a user
    netapp.storagegrid.na_sg_grid_user:
      api_url: "https://<storagegrid-endpoint-url>"
      auth_token: "storagegrid-auth-token"
      validate_certs: false
      state: present
      full_name: ansibleuser100
      unique_name: user/ansibleuser100
      member_of: "group/ansiblegroup100"
      disable: false

Inputs

    
state:
    choices:
    - present
    - absent
    description:
    - Whether the specified user should exist or not.
    required: true
    type: str

api_url:
    description:
    - The url to the StorageGRID Admin Node REST API.
    required: true
    type: str

disable:
    description:
    - Needs more research.
    type: str

full_name:
    description:
    - Full Name of the user.
    - Required for create operation
    type: str

member_of:
    description:
    - List of unique_groups that the user is a member of
    type: list

auth_token:
    description:
    - The authorization token for the API request
    required: true
    type: str

unique_name:
    description:
    - Unique Name for the user. Must begin with "user/" or "federated-user/"
    - Required for create, modify or delete operation
    type: str

validate_certs:
    default: true
    description:
    - Should https certificates be validated?
    required: false
    type: bool