ansible 啓動tomcat遇到的問題

故障問題:ansible遠程調用startup.sh啓動tomcat,啓動失敗。
解決方法:
ansible調用shell腳本啓動tomcat得加上nohup 後面還不能跟 「&」shell

ansible peixun-145 -m shell -a "nohup /script/fc_tomcat.sh coreinterface restart"tomcat

相關文章
相關標籤/搜索