Does anyone have opensearch on baremetal rolling restart playbooks which includes machine reboot?

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Hi Team,

I was looking for opensearch rolling restart + machine reboot yaml code which can be used for opensearch services on baremetal to be restarted without any blocker… do we have such code which can be successfully used/implemented to perform restarts?

Describe the issue:


Relevant Logs or Screenshots:

@gaobinlong can you please help here or provide some information?

hi @SanJan , I haven’t practiced that, but I found this code which can be used to rolling restart opensearch/elasticsearch, you can refer to that and make some change if needed, and OpenSearch has this doc: Rolling Upgrade - OpenSearch documentation, it is for rolling-upgrade, but I think it’s similar with rolling restart, you can have a look, hope it helps.