小编el_*_*eto的帖子

ansible 2.3.0 - 没有可用的身份验证方法

我已经使用以下命令在 ubuntu 服务器上安装了 ansible:

 pip install git+git://github.com/ansible/ansible.git@devel
Run Code Online (Sandbox Code Playgroud)

所以我当前的版本是:

ansible 2.3.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
Run Code Online (Sandbox Code Playgroud)

在配置文件中我有:

# uncomment this to disable SSH key host checking
host_key_checking = False
Run Code Online (Sandbox Code Playgroud)

当我运行 ansible 时,我得到:

Using /etc/ansible/ansible.cfg as config file
SSH password:

PLAYBOOK: test1.yml ************************************************************
1 plays in test1.yml

PLAY [testowy playbook] ********************************************************

TASK [show version] ************************************************************
task path: /home/mszczesniak/test1.yml:8
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/core/network/ios/ios_command.py
<10.27.200.80> ESTABLISH LOCAL CONNECTION FOR USER: root
<10.27.200.80> EXEC /bin/sh -c '( umask …
Run Code Online (Sandbox Code Playgroud)

ansible

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

ansible ×1