Ansible gitlab_user

Hi there!

First time posting so don’t be too hard on me. I’m trying to create a new user using the built-in ansible module gitlab_user . I know ansible related questions probably shouldn’t be asked here, but the situation is more oriented towards Gitlab.
So after running this play:

- name: Crate user
  hosts: linux01
  become: true
    - gitlab_user:
        login_user: root
        login_password: rootpassword
        name: My Name
        username: testuser
        password: testuser
        email: myemail
        state: present

It fails and gives me an error:

fatal: [ansitest1@]: FAILED! => {“changed”: false, “msg”: "Failed to connect to Gitlab server: HTTPSConnectionPool(host=‘’, port=8081): Max retries exceeded with url: /api/v3/session (Caused by SSLError(SSLError(1, u’[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:726)’),)) "}

So I looked up the .py files of the module and turned of ssl verification (set it to false by default), but it still gives the error … the parts where the connection is made are on the picture below.

I thought, that as that question is aimed more towards Gitlab than Ansible as it uses the GitLabs methods (I’m actually not completely sure, tell me if I’m wrong)

If you want to take a look, the code can be found at this place at line 318.

If you need more information, tell me, I’ll do my best to provide everything I can to solve this (I need it for a project at University, this isn’t my homework!! I actually get paid for It, but I can’t get it to work and no one seems to be able to help :frowning: ) Sorry for my english, it’s not my first language.