Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is ansible role and how are they different from the playbook?



What is ansible role and how are they different from the playbook?..

Answer / Swadesh Mishra

"An Ansible Role represents a reusable collection of tasks, files, variables, and dependencies that help to organize your Ansible playbooks. A Playbook, on the other hand, contains a series of plays (a play is a group of tasks) that are used to automate and orchestrate the configuration management process. While a role defines a set of configuration for a specific component, a playbook defines the order in which those roles will be executed for a given inventory of hosts."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ansible Interview Questions

How to keep secret data in playbook?

0 Answers  


What is the use of ansible?

1 Answers  


When should I use {{ }}? Also, how to interpolate variables or dynamic variable names

1 Answers  


How is ansible different from puppet?

1 Answers  


Write a playbook to create a backup of a file in the remote servers before copy.

1 Answers  


How do I handle different machines needing different user accounts or ports to log in with?

1 Answers  


What is ansible?

1 Answers  


What is ansible role and how are they different from the playbook?

1 Answers  


Talk about ansible architecture.

1 Answers  


What is ci/cd?

1 Answers  


When should you test playbooks and roles?

1 Answers  


How do I configure a jump host to access servers that I have no direct access to?

1 Answers  


Categories