You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to use the community.general.gitlab_group module to create a submodule in Gitlab, I had a 500 as a response.
Looking in Gitlab logs, it seemed that the fields
auto_devops_enabled
project_creation_level
subgroup_creation_level
were required and Gitlab didn't accept a null value for these fields.
After I added them in the Ansible tasks the response was a 201, as expected.
Issue Type
Bug Report
Component Name
community.general.gitlab_group module
Ansible Version
ansible [core 2.12.3]
Community.general Version
$ ansible-galaxy collection list community.general
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Run the module without the fields I reported
Expected Results
I expected a 201 even without the fields I reported. I had a 500 instead
Actual Results
"msg": "Failed to create group: 500: 500 Internal Server Error "
Code of Conduct
I agree to follow the Ansible Code of Conduct
The text was updated successfully, but these errors were encountered:
Summary
When I tried to use the
community.general.gitlab_group module
to create a submodule in Gitlab, I had a 500 as a response.Looking in Gitlab logs, it seemed that the fields
were required and Gitlab didn't accept a
null
value for these fields.After I added them in the Ansible tasks the response was a 201, as expected.
Issue Type
Bug Report
Component Name
community.general.gitlab_group module
Ansible Version
Community.general Version
$ ansible-galaxy collection list community.general
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Run the module without the fields I reported
Expected Results
I expected a 201 even without the fields I reported. I had a 500 instead
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: