故障问题: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"
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。