logo-MindMajix
A
Anusha V

Posted on 25th July 2024|41 views

0
votes

Ansible Run_once

Explain about "run_once" keyword

1 answers
Answers
P
Harshel Mike

Posted on 25th July 2024| 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.

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
Name
Course *
Email *
Phone Number