ansible-role-gitea/tasks/check-variables.yml
Thomas Maurice cdfb5bd354 Fix linting
2020-04-20 15:38:03 +01:00

7 lines
246 B
YAML

---
- 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