GuillaumeSmaha/ansible-role-gluu-configuration

Tuple_to_LDAPMod(): expected a byte string in the list

Yamilquery opened this issue · 1 comments

First of all, thank you for your great job.

Yesterday I spent all day long trying to run the Gluu configuration.
In my main.yml file, I've set gluuScimEnabled to enabled, but I'm getting the following error:

TASK [GuillaumeSmaha.gluu-configuration : Update Global Configuration] *********************************************************************************************************************************
failed: [root@159.89.51.85] (item={'key': 'gluuScimEnabled', 'value': 'enabled'}) => {"ansible_loop_var": "item", "changed": false, "details": "('Tuple_to_LDAPMod(): expected a byte string in the list', 'enabled')", "item": {"key": "gluuScimEnabled", "value": "enabled"}, "msg": "Attribute action failed."}

I guess so this could be an issue related to python-ldap.

Which Ansible version should I use?

Edit: Solved by using Ansible 2.5.15 version.
It seems that the last version of Ansible (currently 2.9) is causing the conflict.