diff --git a/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/defaults/main.yml b/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/defaults/main.yml index d238fa3ca95..552fe0516da 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/defaults/main.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/defaults/main.yml @@ -44,6 +44,7 @@ ocp4_workload_gitops_gitlab_import_repos: [] # ocp4_workload_gitops_gitlab_import_repos: # - name: janus-idp +# description: The IDP management group # repo: # - name: software-templates # url: https://github.com/treddy08/software-templates.git diff --git a/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/templates/application-gitlab.yml.j2 b/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/templates/application-gitlab.yml.j2 index a730188aa49..d92753de5d9 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/templates/application-gitlab.yml.j2 +++ b/ansible/roles_ocp_workloads/ocp4_workload_gitops_gitlab/templates/application-gitlab.yml.j2 @@ -59,6 +59,8 @@ spec: {% set grouploop = loop %} - name: gitlab.groups[{{ grouploop.index - 1 }}].name value: {{ group.name }} + - name: gitlab.groups[{{ grouploop.index - 1 }}].description + value: {{ group.description | default('') }} {% for repo in group.repo %} - name: gitlab.groups[{{ grouploop.index - 1 }}].repo[{{ loop.index - 1 }}].name value: {{ repo.name }}