Writing a groovy class where I have to make a mongo connection, get the ip of the secondary node, and ssh to that node and run a bash script there. The bash script has a few