Giter Club home page Giter Club logo

Comments (2)

fdutheil avatar fdutheil commented on July 22, 2024

A bit more details never hurts:

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/ansible/executor/task_executor.py", line 138, in run
    res = self._execute()
  File "/usr/lib64/python3.6/site-packages/ansible/executor/task_executor.py", line 566, in _execute
    result = self._handler.run(task_vars=variables)
  File "/usr/lib64/python3.6/site-packages/ansible/plugins/action/normal.py", line 46, in run
    result = merge_hash(result, self._execute_module(task_vars=task_vars, wrap_async=wrap_async))
  File "/usr/lib64/python3.6/site-packages/ansible/plugins/action/__init__.py", line 720, in _execute_module
    self._make_tmp_path()
  File "/usr/lib64/python3.6/site-packages/ansible/plugins/action/__init__.py", line 255, in _make_tmp_path
    tmpdir = self._remote_expand_user(remote_tmp, sudoable=False)
  File "/usr/lib64/python3.6/site-packages/ansible/plugins/action/__init__.py", line 590, in _remote_expand_user
    data = self._low_level_execute_command(cmd, sudoable=False)
  File "/usr/lib64/python3.6/site-packages/ansible/plugins/action/__init__.py", line 917, in _low_level_execute_command
    rc, stdout, stderr = self._connection.exec_command(cmd, in_data=in_data, sudoable=sudoable)
  File "/<blah>/ansible/connection_plugins/sshjail.py", line 325, in exec_command
    cmd = '%s %s %s %s' % (self.get_jail_connector(), self.get_jail_id(), cmd, '&& sleep 0')
  File "/<blah>/ansible/connection_plugins/sshjail.py", line 279, in get_jail_id
    self.match_jail()
  File "/<blah>/ansible/connection_plugins/sshjail.py", line 257, in match_jail
    lines = stdout.strip().split('\n')
TypeError: a bytes-like object is required, not 'str'

Anyway, non blocking issue here, as I can specify that I want ansible in python 2.7 flavor for now.

from ansible-sshjail.

austinhyde avatar austinhyde commented on July 22, 2024

Sorry for letting this sit for so long...

I believe this is fixed by #25 which is now merged to master. Please let me know if that's not the case!

from ansible-sshjail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.