Comments (2)
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.
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)
- the connection plugin 'sshjail' was not found HOT 1
- [dev_ansible_v2] IndexError: list index out of range in _strip_sudo HOT 4
- ImportError: No module named callbacks HOT 4
- No longer works against latest ansible (2.4) HOT 10
- UnboundLocalError: local variable 'copycmd' referenced before assignment HOT 6
- become password per host HOT 2
- Fix for Ansible 2.5 HOT 3
- Upload file works HOT 6
- Quotes & strip: can't open file <temporary remote script.py> HOT 7
- Replace PlayContext.make_become_cmd HOT 2
- Temp execution files left behind HOT 1
- Unexpected failure during module execution HOT 6
- Added to the FreeBSD ports collection
- Exceptions after upgrading to ansible 4.x HOT 1
- Quote removal off-by-one (on ansible core 2.11.2) HOT 8
- Use self.runner.* instead of hacky stuff HOT 1
- breaking change in ansible 2.12.3 - connecting to myjail@host instead of host
- Unexpected error when connecting with invalid user
- Looks broken with ansible 2.0.0.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-sshjail.