A
Anusha V

Posted on 26th April 2024|40 views

0
votes

Ansible Run_once

Explain about "run_once" keyword

Answers
P
Harshel Mike

Posted on 26th April 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.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos