On Thursday, 15 January 2015 05:29:37 UTC+13, Kessia Pinheiro wrote: > > I'm trying to run a simple playbook (actually it's another one, but I > created that for tests), but it keep giving me the error below in any > server I've tried: > ... > $ ansible-playbook test.yml -i production/inventory --user=inadmin > --ask-pass --su --ask-su-pass -vvvv > ...
> File > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/ssh.py", > line 337, in exec_command > elif sudo_errput.endswith(prompt): > TypeError: endswith first arg must be str, unicode, or tuple, not NoneType > > I've just been struggling with the same problem. (using v 1.8.2). What I have discovered is it is the extra verbose logging -vvvv that seems to cause the error. Try changing that to -vvv and see if it helps. -- 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/3c58290d-7699-4759-b9b3-c0e162165d04%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
