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