ansible報錯總結
阿新 • • 發佈:2017-08-23
ansible fatal: [192.168.42.133]: FAILED! => {"changed": true, "cmd": "/bin/bash /usr/local/src//tomcat_install.sh", "delta": "0:00:00.023015", "end": "2017-08-22 08:43:39.258293", "failed": true, "rc": 1, "start": "2017-08-22 08:43:39.235278", "stderr": "", "stderr_lines": [], "stdout": "Neither the JAVA_HOME nor the JRE_HOME environment variable is defined\nAt least one of these environment variable is needed to run this program", "stdout_lines": ["Neither the JAVA_HOME nor the JRE_HOME environment variable is defined", "At least one of these environment variable is needed to run this program"]}
無法執行source命令:
無法執行source命令,造成安裝的jdk無法生效.
TASK [install : install tomcat] **********************************************************************************************************************************************************************************************************************************************
本文出自 “小V運維之路” 博客,請務必保留此出處http://victor2016.blog.51cto.com/6768693/1958543
ansible報錯總結