eXist-db / existdb-ansible-role

Ansible role for eXist-db
GNU Lesser General Public License v2.1
11 stars 10 forks source link

Make users and groups template compatible with python3 #36

Closed sermo-de-arboribus closed 3 years ago

sermo-de-arboribus commented 3 years ago

The syntax

exist_userpass_map[inventory_hostname][exist_instname].iteritems()

that is used in the users-and-groups.xql.j2 template, is invalid in Python 3. Replacing it with item() makes it work in Python 2 and 3.