Hi,

 I recently installed Ansible from github and was trying to start with the 
ping command, "ansible all -m ping -vvv"  but it is throwing this error. I 
could not find the reason, can someone please give a hint on why is it 
happening or  how to fix this?

Using /home/kbonagir/ansible/ansible/ansible.cfg as config file
<localhost> ESTABLISH CONNECTION FOR USER: None on PORT 22 TO localhost
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/executor/task_executor.py", 
line 122, in run
    res = self._execute()
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/executor/task_executor.py", 
line 418, in _execute
    result = self._handler.run(task_vars=variables)
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/action/normal.py", line 
33, in run
    results = merge_hash(results, self._execute_module(tmp=tmp, 
task_vars=task_vars))
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/action/__init__.py", 
line 440, in _execute_module
    tmp = self._make_tmp_path()
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/action/__init__.py", 
line 211, in _make_tmp_path
    result = self._low_level_execute_command(cmd, sudoable=False)
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/action/__init__.py", 
line 556, in _low_level_execute_command
    rc, stdout, stderr = self._connection.exec_command(cmd, 
in_data=in_data, sudoable=sudoable)
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/connection/paramiko_ssh.py",
 
line 253, in exec_command
    super(Connection, self).exec_command(cmd, in_data=in_data, 
sudoable=sudoable)
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/connection/__init__.py", 
line 49, in wrapped
    self._connect()
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/connection/paramiko_ssh.py",
 
line 141, in _connect
    self.ssh = SSH_CONNECTION_CACHE[cache_key] = self._connect_uncached()
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/connection/paramiko_ssh.py",
 
line 212, in _connect_uncached
    sock_kwarg = self._parse_proxy_command(port)
  File 
"/home/kbonagir/ansible/ansible/lib/ansible/plugins/connection/paramiko_ssh.py",
 
line 152, in _parse_proxy_command
    if ssh_common_args is not None:
NameError: global name 'ssh_common_args' is not defined

localhost | FAILED! => {
    "failed": true,
    "msg": "Unexpected failure during module execution.",
    "stdout": ""
}

Thanks,
Kishore

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3f2f89b1-fc76-406b-a3b8-ce1a823f5f06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to