故障问题:ansible远程调用startup.sh启动tomcat,启动失败。
解决方法:
ansible调用shell脚本启动tomcat得加上nohup 后面还不能跟 “&”
ansible peixun-145 -m shell -a "nohup /script/fc_tomcat.sh coreinterface restart"
故障问题:ansible远程调用startup.sh启动tomcat,启动失败。
解决方法:
ansible调用shell脚本启动tomcat得加上nohup 后面还不能跟 “&”
ansible peixun-145 -m shell -a "nohup /script/fc_tomcat.sh coreinterface restart"