码迷,mamicode.com
首页 > 其他好文 > 详细

ansible报错总结

时间:2017-08-23 21:43:34      阅读:251      评论:0      收藏:0      [点我收藏+]

标签:ansible

  1. 无法执行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报错总结

标签:ansible

原文地址:http://victor2016.blog.51cto.com/6768693/1958543

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!