mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
* Adds few more gitlab group options
* Update plugins/modules/source_control/gitlab/gitlab_group.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Removes default for new string options
* Removes default from argument_spec
* Adds changelog fragment
* Update plugins/modules/source_control/gitlab/gitlab_group.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/source_control/gitlab/gitlab_group.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/source_control/gitlab/gitlab_group.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Maik Schueller <maik.schueller@sap.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 58d018ebbd)
Co-authored-by: mkschuel <77283980+mkschuel@users.noreply.github.com>
This commit is contained in:
@@ -72,3 +72,28 @@
|
||||
assert:
|
||||
that:
|
||||
- gitlab_group_state_desc.group.description == "My Test Group"
|
||||
|
||||
- name: Cleanup GitLab Group for project_creation_level Test
|
||||
gitlab_group:
|
||||
api_url: "{{ gitlab_host }}"
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_login_token }}"
|
||||
name: ansible_test_group
|
||||
path: ansible_test_group
|
||||
state: absent
|
||||
|
||||
- name: Create GitLab Group for project_creation_level Test
|
||||
gitlab_group:
|
||||
api_url: "{{ gitlab_host }}"
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_login_token }}"
|
||||
name: ansible_test_group
|
||||
path: ansible_test_group
|
||||
project_creation_level: noone
|
||||
state: present
|
||||
register: gitlab_group_state_pcl
|
||||
|
||||
- name: Test group created with project_creation_level
|
||||
assert:
|
||||
that:
|
||||
- gitlab_group_state_pcl.group.project_creation_level == "noone"
|
||||
|
||||
Reference in New Issue
Block a user