Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部署密钥出现问题 #28

Open
xuhuigithub opened this issue Aug 3, 2017 · 1 comment
Open

部署密钥出现问题 #28

xuhuigithub opened this issue Aug 3, 2017 · 1 comment

Comments

@xuhuigithub
Copy link

大家安装后都能正常使用吗?现在部署密钥的时候不成功,一直报输入的参数是3个,只获得了2个。

@scorpiopio
Copy link

我也遇到了,报错信息如下:
Internal Server Error: /ansible/test/deploykey
Traceback (most recent call last):
File "/root/envansible/lib/python2.7/site-packages/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/root/ansible_ui/desktop/apps/ansible/views.py", line 777, in deploykey
hostlist = get_hosts(inventory, hosts)
File "/root/ansible_ui/desktop/apps/ansible/tasks.py", line 319, in get_hosts
inventory = Inventory(hostfile)
TypeError: init() takes at least 3 arguments (2 given)
[26/Dec/2017 11:23:14] "POST /ansible/test/deploykey HTTP/1.1" 500 12809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants