netapp.storagegrid.na_sg_grid_ssh_security module – Configure ssh security 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_ssh_security.
New in netapp.storagegrid 21.16.0
Synopsis
Configure ssh security on NetApp StorageGRID.
Parameters
Parameter |
Comments |
|---|---|
Whether external SSH access to the grid is allowed. Choices:
|
|
The url to the StorageGRID Admin Node REST API. |
|
The authorization token for the API request |
|
The ssh security should be present. Choices:
|
|
Should https certificates be validated? Choices:
|
Notes
Note
The modules prefixed with
na_sgare built to manage NetApp StorageGRID.
Examples
- name: configure ssh security setting
netapp.storagegrid.na_sg_grid_ssh_security:
api_url: "https://<storagegrid-endpoint-url>"
auth_token: "storagegrid-auth-token"
validate_certs: false
state: present
allow_external_access: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Returns information about the StorageGRID ssh security. Returned: If state is ‘present’. Sample: |