标签:ansible
无法执行source命令:
无法执行source命令,造成安装的jdk无法生效.
TASK [install : install tomcat] **********************************************************************************************************************************************************************************************************************************************
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"]}
本文出自 “小V运维之路” 博客,请务必保留此出处http://victor2016.blog.51cto.com/6768693/1958543
标签:ansible
原文地址:http://victor2016.blog.51cto.com/6768693/1958543