Check multiple instances on the same machine
Trigger all instances instead of only first one
Using shell module instead of using command module to have properly mode
Fix error missing embraces of variable tomcat_http_port