Posted on 5th March 2024
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.
STILL GOT QUERIES?