Posted on 28th April 2025| views
In some tasks, we may need to run only one task for a batch of hosts. In those situations, we configure “run_once” on that task. Run once directive makes the task to seek execution on the first host of the present batch and then employs all the facts and results to every host present in that batch.