Cluster is having 6 nodes, having the default role: cdfhilmrstw
How to update the node.roles from all to master only.
Note: node has already a shards assigned, containing .security-7 index.
IF I run elasticsearch-node repurpose to delete data to be master eligible node, password for default elastic user was also getting deleted.
Goal is to update the nodes, with each specific roles e.g. 3 master, 2 data, and 1 ingest nodes.
Thanks