我已经按照文档安装了ara https://ara.readthedocs.io/en/stable/installation.html
但是,当我尝试从url访问它时,它不会加载。我不确定ara日志在哪里。
请从日志中查找以下信息
[jim@centos74.master /data/OnlyOnMyPC/ansible]type ara
ara is /bin/ara
[jim@centos74.master /data/OnlyOnMyPC/ansible]file /bin/ara
/bin/ara: Python script, ASCII text executable
[jim@centos74.master /data/OnlyOnMyPC/ansible]/bin/ara
Traceback (most recent call last):
File "/bin/ara", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/ara/shell.py", line 73, in main
return aracli.run(argv)
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
result = self.interact()
File "/usr/lib/python2.7/site-packages/cliff/app.py", line 318, in interact
from .interactive import InteractiveApp
File "/usr/lib/python2.7/site-packages/cliff/interactive.py", line 20, in <module>
import cmd2
File "/usr/lib/python2.7/site-packages/cmd2.py", line 226, in <module>
import gtk
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
_init()
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
_gtk.init_check()
RuntimeError: could not open display
[jim@centos74.master /data/OnlyOnMyPC/ansible]systemctl status ara
Unit ara.service could not be found.
非常感谢您的协助。
最终游戏将运行ara,这样我们就可以查看剧本等的统计信息
谢谢
答案 0 :(得分:1)
我是ara的作者,刚遇到这个问题。
自述文件中的快速入门指南有望使您入门:https://github.com/ansible-community/ara#quickstart
如果您有任何疑问,请随时通过Slack or IRC与我们联系。
谢谢!