Thanks David.
I've tested and got the following:
Below is your cluster yaml command to redploy agents.
null
Below is your cluster's agent command. If you didn't specify any roles with -r then you should not run the command below until you've added roles to it.
Do not run this command on a node with roles different from the roles already assigned to it, in most situations you won't need to run this command at all.
null
Script has finished without error.