ansible报错总结
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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报错总结的主要内容,如果未能解决你的问题,请参考以下文章