Guest User

Untitled

a guest
Jul 11th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. → ansible --version
  2. ansible 2.6.1
  3. config file = /etc/ansible/ansible.cfg
  4. configured module search path = [u'/Users/bcroffut/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  5. ansible python module location = /usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible
  6. executable location = /usr/local/bin/ansible
  7. python version = 2.7.15 (default, Jun 17 2018, 12:46:58) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]
  8.  
  9. → ansible -vvvv -i ./hosts lvsbatchtools-1385208.stratus.lvs.test.com -a 'hostname' --ask-pass -c paramiko
  10. ansible 2.6.1
  11. config file = /etc/ansible/ansible.cfg
  12. configured module search path = [u'/Users/bcroffut/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  13. ansible python module location = /usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible
  14. executable location = /usr/local/bin/ansible
  15. python version = 2.7.15 (default, Jun 17 2018, 12:46:58) [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]
  16. Using /etc/ansible/ansible.cfg as config file
  17. [DEPRECATION WARNING]: ANSIBLE_HOSTS option, The variable is misleading as it can be a list of hosts and/or paths to
  18. inventory sources , use ANSIBLE_INVENTORY instead. This feature will be removed in version 2.8. Deprecation warnings can
  19. be disabled by setting deprecation_warnings=False in ansible.cfg.
  20. SSH password:
  21. setting up inventory plugins
  22. Parsed /Users/bcroffut/googledrive/development/Ansible/v12agentInstall/hosts inventory source with ini plugin
  23. Loading callback plugin minimal of type stdout, v2.0 from /usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyc
  24. META: ran handlers
  25. <lvsbatchtools-1385208.stratus.lvs.test.com> ESTABLISH CONNECTION FOR USER: None on PORT 22 TO lvsbatchtools-1385208.stratus.lvs.test.com
  26. The full traceback is:
  27. Traceback (most recent call last):
  28. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 138, in run
  29. res = self._execute()
  30. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 576, in _execute
  31. result = self._handler.run(task_vars=variables)
  32. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/action/command.py", line 24, in run
  33. results = merge_hash(results, self._execute_module(task_vars=task_vars, wrap_async=wrap_async))
  34. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 716, in _execute_module
  35. self._make_tmp_path()
  36. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 255, in _make_tmp_path
  37. tmpdir = self._remote_expand_user(remote_tmp, sudoable=False)
  38. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 590, in _remote_expand_user
  39. data = self._low_level_execute_command(cmd, sudoable=False)
  40. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line 938, in _low_level_execute_command
  41. rc, stdout, stderr = self._connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
  42. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/connection/paramiko_ssh.py", line 372, in exec_command
  43. super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
  44. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/connection/__init__.py", line 38, in wrapped
  45. self._connect()
  46. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/connection/paramiko_ssh.py", line 249, in _connect
  47. self.ssh = SSH_CONNECTION_CACHE[cache_key] = self._connect_uncached()
  48. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/connection/paramiko_ssh.py", line 329, in _connect_uncached
  49. sock_kwarg = self._parse_proxy_command(port)
  50. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/ansible/plugins/connection/paramiko_ssh.py", line 292, in _parse_proxy_command
  51. sock_kwarg = {'sock': paramiko.ProxyCommand(proxy_command)}
  52. File "/usr/local/Cellar/ansible/2.6.1/libexec/lib/python2.7/site-packages/paramiko/proxy.py", line 53, in __init__
  53. self.cmd = shlsplit(command_line)
  54. File "/usr/local/opt/python@2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 275, in split
  55. lex = shlex(s, posix=posix)
  56. File "/usr/local/opt/python@2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 25, in __init__
  57. instream = StringIO(instream)
  58. UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128)
  59.  
  60. lvsbatchtools-1385208.stratus.lvs.ebay.com | FAILED | rc=-1 >>
  61. Unexpected failure during module execution.
Add Comment
Please, Sign In to add comment