Looking for singleton... sort of.

In my app deployment scheme the first part happens locally, and the second part in the remote targets.

Now, I want the first part to be executed only once no matter how many hosts the run is for, then the second part can be parallelized

Is there a way to indicate that a part of the play execute a single time, and others once per host?

Thanks

seems like you want run_once, just take into account that if you use
serial, it won't be per play but per serial batch