mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 13:44:24 -07: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:
parent
0ccd52b63a
commit
10b3381f21
5 changed files with 96 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue