Not seen this myself but a couple of things to investigate.

You don't mention which version of ansible you were running previously - if 
it wasn't from a development checkout, ensure you have run

source hacking/env-setup

Probably worth re-running even if you were on a dev checkout before.

Also the 'ssh', '-tt' part of the stack trace reminded me of this comment I 
noticed on a closed issue from a few days ago:

https://github.com/ansible/ansible/issues/13876#issuecomment-186709690


Doesn't sound like exactly the same issue but perhaps worth a look.

Hope this helps,

Jon

On Thursday, 25 February 2016 22:19:36 UTC, Joanna Delaporte wrote:
>
> I just git pulled the latest build from GitHub, and then ran the following 
> two commands as recommended on the Installation page:
>
> $ git pull --rebase
> $ git submodule update --init --recursive
>
> However, I am now getting an exception that the 'Connection' object has no 
> attribute '_split_ssh_args' on my target hosts. 
> I must have missed something. My control host is running CentOS 7.1. What 
> should I do to fix this?
>
> Here is a verbose output:
>
> <192.168.1.12> ESTABLISH SSH CONNECTION FOR USER: ansible
>
> ...nothing from that IP for several lines while other machines' output is 
> recorded, then...
>
> An exception occurred during task execution. The full traceback is:
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.7/site-packages/ansible-2.1.0-py2.7.egg/ansible/executor/process/worker.py",
>  line 114, in run
>     self._shared_loader_obj,
>   File 
> "/usr/lib/python2.7/site-packages/ansible-2.1.0-py2.7.egg/ansible/executor/task_executor.py",
>  line 119, in run
>     res = self._execute()
>   File 
> "/usr/lib/python2.7/site-packages/ansible-2.1.0-py2.7.egg/ansible/executor/task_executor.py",
>  line 402, in _execute
>     result = self._handler.run(task_vars=variables)
>   File "/home/user/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 
> "/usr/lib/python2.7/site-packages/ansible-2.1.0-py2.7.egg/ansible/plugins/action/__init__.py",
>  line 390, in _execute_module
>     tmp = self._make_tmp_path()
>   File 
> "/usr/lib/python2.7/site-packages/ansible-2.1.0-py2.7.egg/ansible/plugins/action/__init__.py",
>  line 205, in _make_tmp_path
>     result = self._low_level_execute_command(cmd, sudoable=False)
>   File 
> "/usr/lib/python2.7/site-packages/ansible-2.1.0-py2.7.egg/ansible/plugins/action/__init__.py",
>  line 502, in _low_level_execute_command
>     rc, stdout, stderr = self._connection.exec_command(cmd, in_data=in_data, 
> sudoable=sudoable)
>   File "/home/ansible/ansible/lib/ansible/plugins/connection/ssh.py", line 
> 590, in exec_command
>     return_tuple = self._exec_command(*args, **kwargs)
>   File "/home/ansible/ansible/lib/ansible/plugins/connection/ssh.py", line 
> 565, in _exec_command
>     cmd = self._build_command('ssh', '-tt', self.host, cmd)
>   File "/home/ansible/ansible/lib/ansible/plugins/connection/ssh.py", line 
> 151, in _build_command
>     args = self._split_ssh_args(self._play_context.ssh_args)
> AttributeError: 'Connection' object has no attribute '_split_ssh_args'
> fatal: [192.168.1.12]: FAILED! => {"failed": true, "stdout": ""}
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/37f28597-33eb-49c9-b783-4b39035cc4f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to