end_play is stopping the loop execution

Have the task with the loop to execute multiple sql files. but need to stop the execution of playbook using tag only after execution all the sql files. in reality the end_play is ending immediately after execution one sql file.

" dlf_validation_sql_script " is a variable that provides the loop of multiple sql files to execute.

how can we keep the execution of task DLF validation until it complete the loop?