Answer Posted / Pankaj Yadav
An Ansible role is a reusable collection of tasks and variables that define a specific functionality, such as installing and configuring a particular software package or service. Roles are organized into directories with a defined structure, making them easy to share and manage within an Ansible project.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When should I use {{ }}?
How do I copy files recursively onto a target host?
How would you access a variable of the first host in a group?
How can you handle different machines needing different user accounts or ports to log in with?
When to use {{}} ? How to interpolate variables or dynamic variable names?
What is configuration management and how does it help an organization?
How do I get ansible to reuse connections, enable kerberized ssh, or have ansible pay attention to my local ssh config file?
How to access a variable of the first host in a group?
Desired to gain proficiency on ansible?
How do I loop over a list of hosts in a group, inside of a template?
What is ansible and what makes it stand out from the rest of the configuration management tools?
How to generate crypto passwords for the user module?
What are ad-hoc commands?
What is ansible tower?
How can you create a lamp stack and deploy a webpage by using ansible?