1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00
ansible_role_gitea/tasks/check-variables.yml

8 lines
246 B
YAML
Raw Normal View History

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