ansible-playbook 顯示命令返回結果

--- - hosts: test gather_facts: F #開啓debug vars: war: "ps -ef | grep tomcat | grep -v grep | awk '{print $2}'" tasks: - name: stop tomcat shell: nohup /bin/bash /tmp/stop_tomcat.sh&
相關文章
相關標籤/搜索