2020-04-04 07:06:25 -05:00
|
|
|
---
|
|
|
|
- name: run checks to ensure set variables do not crash gitea
|
|
|
|
block:
|
2020-04-20 09:28:18 -05:00
|
|
|
- name: "check token length"
|
|
|
|
fail:
|
|
|
|
msg: 'gitea_oauth2_jwt_secret cannot be longer than 32 characters.'
|
2020-04-04 07:06:25 -05:00
|
|
|
when: gitea_oauth2_jwt_secret | length > 32
|