homeserver/roles/tmaurice.gitea/tasks/check-variables.yml

8 lines
246 B
YAML
Raw Normal View History

2021-01-21 09:07:19 +01:00
---
- name: run checks to ensure set variables do not crash gitea
block:
- name: "check token length"
fail:
msg: 'gitea_oauth2_jwt_secret cannot be longer than 32 characters.'
when: gitea_oauth2_jwt_secret | length > 32