diff --git a/tasks/check-variables.yml b/tasks/check-variables.yml index 7d4299b..e343bfe 100644 --- a/tasks/check-variables.yml +++ b/tasks/check-variables.yml @@ -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 -