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

Fix linting

This commit is contained in:
Thomas Maurice 2020-04-20 15:28:18 +01:00
parent d65ac0f919
commit cdfb5bd354

View file

@ -1,7 +1,7 @@
---
- name: run checks to ensure set variables do not crash gitea
block:
- fail:
msg: 'gitea_oauth2_jwt_secret cannot be longer than 32 characters. Please reduce the length of your token'
- name: "check token length"
fail:
msg: 'gitea_oauth2_jwt_secret cannot be longer than 32 characters.'
when: gitea_oauth2_jwt_secret | length > 32