How to configue multitask job in one file

How to configure multi task job like configure nginx php mysql in one job each other talk with internal.