We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot create subgroups if project_creation_level and subgroup_creation_level are not defined
when i affect default values to those variable, it works please add default value for those variable
Bug Report
gitlab_group module
$ ansible --version
$ ansible-galaxy collection list community.general
$ ansible-config dump --only-changed
No response
- name: "Create GitLab SubGroup" community.general.gitlab_group: api_url: https://gitlab.example.com/ validate_certs: True api_token: xxx name: c path: c state: present parent: "a/b"
creating should work according the documentation
The full traceback is: File "/var/folders/h3/rbw_915j7tg2h4lp1bp63st80000gn/T/ansible_community.general.gitlab_group_payload_y2u7c11d/ansible_community.general.gitlab_group_payload.zip/ansible_collections/community/general/plugins/modules/source_control/gitlab/gitlab_group.py", line 262, in create_group File "/Users/fab1/Library/Python/3.8/lib/python/site-packages/gitlab/exceptions.py", line 313, in wrapped_f raise error(e.error_message, e.response_code, e.response_body) from e fatal: [localhost]: FAILED! => { "changed": false, "invocation": { "module_args": { "api_job_token": null, "api_oauth_token": null, "api_password": null, "api_token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "api_url": "XXX", "api_username": null, "auto_devops_enabled": null, "avatar_path": null, "description": null, "name": "c", "parent": "a/b", "path": "c", "project_creation_level": null, "require_two_factor_authentication": null, "state": "present", "subgroup_creation_level": null, "validate_certs": true, "visibility": "private" } }, "msg": "Failed to create group: 500: 500 Internal Server Error "
The text was updated successfully, but these errors were encountered:
Files identified in the description:
plugins/modules/source_control/gitlab/gitlab_group.py
If these files are incorrect, please update the component name section of the description or use the !component bot command.
component name
!component
click here for bot help
Sorry, something went wrong.
cc @Lunik @Shaps @dj-wasabi @lgatellier @marwatk @metanovii @nejch @scodeman @sh0shin @suukit @waheedi @zanssa click here for bot help
Duplicate of #4577
Thanks for spotting that @Lunik.
No branches or pull requests
Summary
cannot create subgroups if project_creation_level and subgroup_creation_level are not defined
when i affect default values to those variable, it works
please add default value for those variable
Issue Type
Bug Report
Component Name
gitlab_group module
Ansible Version
$ ansible --version
Community.general Version
$ ansible-galaxy collection list community.general
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Expected Results
creating should work according the documentation
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: