44 Views

27th May 2020

Ansible Run_once

Explain about "run_once" keyword

Answers

29th May 2020

Answered by Harshel Mike

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