#Need help with automating creation of storage grid tenants and buckets with Ansible.

1 messages · Page 1 of 1 (latest)

peak echo
#

The part that I do not understand is how to generate an authorization token. I have, after some research, been made aware of the python script - storagegrid-ssoauth-azure.py script that can be used to obtain the authentication token - but I need help with what modules or utilities need installed to run this script in ansible.
Any examples of how this has been written in ansible would also greatly help.

ornate sequoia
peak echo
#

Thanks @ornate sequoia . Does it work when SSO is enabled ? I am told that this only works for local users.

ornate sequoia
#

I don't know

dense steeple
#

Hi @ornate sequoia hope ur doing good. In that collection , I don't find any subset to use under netapp.storagegrid.na_sg_grid_info so I could fetch out settings about autosupport. basically, on Storagegrid I need to check through ansible playbook if autosupport is communicating through HTTPS. kindly suggest if you have any clue.

peak echo
#

Hi @dense steeple can you help me if you have been able to get through creating an ansible playbook for getting an authentication token for StorageGrid

marsh orbit
#

The /private/autosupport API can get your the ASUP configuration.

You can view an example of it in the Swagger UI at https://<GRIDMGMT-FQDN>/grid/apidocs.html?type=private#/asup/get_private_autosupport