tasks ordering:: is it guaranteed by register/when usage?

Hi! Would the tasks be automatically ordered when
i register a task1_status and then i require task2
a when: task1_status is succeeded ?

Is there any chance even if the ordering in file
is "task1 -> task2" that task2 is skipped because
task1 did not get to run and register task1_status?

Thanks a lot!
Adrian

Tasks are always executed in order for a specific host, even with non
linear strategies the most you can have is hosts at a different task,
but none skipping task order.

Thanks a lot for clarification!
But then what is the actual intent/usage of pre_tasks and post_tasks?

Thanks a lot!
Adrian

pre_tasks run before roles:, which run before tasks: , post_tasks are
really not needed, they run after tasks: