IBM-Security / isam-ansible-roles

Ansible Custom Modules, Handlers and Tasks for ISAM. Requires "ibmsecurity" python package.
Apache License 2.0
24 stars 43 forks source link

Make repository Python 3.7 compatible #144

Open kalemontes opened 5 years ago

kalemontes commented 5 years ago

Since the ibmsecurity library is Python 3.7 compatible (see https://github.com/IBM-Security/ibmsecurity/pull/162) we tried to switch our Ansible Control to this Python version. Unfortunately there are some python scripts on the rôles that are still not python 3 compatible :

For example when executing any playbook with dependencies on the role start_config an error is thrown : ModuleNotFoundError: No module named 'StringIO'

Here it's the full trace : full_traceback.txt

ram-ibm commented 5 years ago

We have been focused on getting the biggest codebase fixed - ibmsecurity. So missed this part of it. Will work on fixing it ASAP.

bbaassssiiee commented 4 years ago

Partially fixed in https://github.com/IBM-Security/isam-ansible-roles/pull/149

ram-ibm commented 4 years ago

What else is an issue please? There is work going on to tackle the open() that causes output to be byte versus str being addressed.