Updated to create project for gitlab and share with group
diff --git a/private-gitlab-repository-create-update.yml b/private-gitlab-repository-create-update.yml index 0af2332..cf5fb60 100644 --- a/private-gitlab-repository-create-update.yml +++ b/private-gitlab-repository-create-update.yml
@@ -7,6 +7,18 @@ - repository-custom-properties.yml - private-repository-user-list.yml tasks: + - name: Remove Gitlab repositories if necessary + tags: ['create'] + register: repos + uri: + url: "{{ repository_secure_endpoint_https }}/{{ item }}" + method: DELETE + headers: + PRIVATE-TOKEN: "{{ token }}" + status_code: 201 + with_items: + - "Delete-ME" + - name: Create Gitlab repositories if necessary tags: ['create'] register: repos