Limit project description to 255 characters

Otherwise, gitea is sad.

Change-Id: I36e466d06daab8147c052ba3b8fe6754799205b5
This commit is contained in:
Monty Taylor 2019-03-04 15:57:09 +00:00
parent fe89631029
commit 626bc0459a

View File

@ -18,7 +18,7 @@
body_format: json body_format: json
body: body:
auto_init: false auto_init: false
description: "{{ project.description | default('') }}" description: "{{ (project.description | default(''))[:255] }}"
name: "{{ repo }}" name: "{{ repo }}"
private: false private: false
register: create_repo_result register: create_repo_result