netapp.storagegrid.na_sg_grid_untrusted_client_network module – Configure untrusted Client Network on StorageGRID.

Note

This module is part of the netapp.storagegrid collection (version 21.16.0).

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_grid_untrusted_client_network.

New in netapp.storagegrid 21.16.0

Synopsis

  • Configure untrusted Client Network on NetApp StorageGRID.

Parameters

Parameter

Comments

api_url

string / required

The url to the StorageGRID Admin Node REST API.

auth_token

string / required

The authorization token for the API request

default_node

string

The default setting for the Client Network on nodes added to the grid.

Choices:

  • "trusted" ← (default)

  • "untrusted"

state

string

The untrusted Client Network should be present.

Choices:

  • "present" ← (default)

untrusted_nodes_id

list / elements=string

List of nodes IDs that have untrusted Client Networks.

untrusted_nodes_name

list / elements=string

List of nodes name that have untrusted Client Networks.

validate_certs

boolean

Should https certificates be validated?

Choices:

  • false

  • true ← (default)

Notes

Note

  • The modules prefixed with na_sg are built to manage NetApp StorageGRID.

Examples

- name: Configure untrusted Client Network
  netapp.storagegrid.na_sg_grid_untrusted_client_network:
    api_url: "https://<storagegrid-endpoint-url>"
    auth_token: "storagegrid-auth-token"
    validate_certs: false
    state: present
    default_node: trusted
    untrusted_nodes_name:
      - SITE1-SN1
      - SITE1-SN2

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

resp

dictionary

Returns information about the StorageGRID untrusted Client Network.

Returned: If state is ‘present’.

Sample: {"default": "untrusted", "untrustedNodes": ["658a91d7-d6f4-4d8e-a8ba-e15e6408b604", "f02ab622-e2f6-4bfe-b14b-0fa472db756f"]}

Authors

  • NetApp Ansible Team (@vinaykus)