NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Rest API Discussions

Ansible loop info pull togethers

Rezk_Mekhael
2,257 Views

reboot multiple clusters

Since a reboot of a full cluster is actual node by node and i have to do  info pull to get all the nodes info.  Can i loop input pulls without overwrite the register?

 

Rezk Mekhael

 

 

 

1 REPLY 1

RobertBlackhart
2,250 Views

For Ansible specific questions, I recommend asking in the Slack channel: https://netapppub.slack.com/archives/C2LUVV33R. They will have better knowledge of the best way to do this with the Ansible modules.

 

As far as REST goes, I thin you should be able to reboot all of the nodes at one time with a request like this if you wanted to:

 

PATCH /api/cluster/nodes?name=*&action=reboot&allow_data_outage=true

Public