From e7bf46d8bc4f001aad2d94c1b61f111c72419424 Mon Sep 17 00:00:00 2001 From: Skybound1 Date: Thu, 13 Jun 2019 23:40:14 +0100 Subject: [PATCH] Adds visibility parameter to gitlab group creation (#57024) --- lib/ansible/modules/source_control/gitlab_group.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/source_control/gitlab_group.py b/lib/ansible/modules/source_control/gitlab_group.py index 9f6b21b79a9..942d9baa440 100644 --- a/lib/ansible/modules/source_control/gitlab_group.py +++ b/lib/ansible/modules/source_control/gitlab_group.py @@ -188,7 +188,8 @@ class GitLabGroup(object): group = self.createGroup({ 'name': name, 'path': options['path'], - 'parent_id': parent_id}) + 'parent_id': parent_id, + 'visibility': options['visibility']}) changed = True else: changed, group = self.updateGroup(self.groupObject, {