What is ansible role?
Answer / 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 |
How does ansible work?
What are the advantages of ansible?
What are the variables in ansible?
How do I loop over a list of hosts in a group, inside of a template?
Explain the concept behind infrastructure as code (iac).
What features does the ansible tower provide?
How do I access a variable name programmatically?
How do I get ansible to reuse connections, enable kerberized ssh, or have ansible pay attention to my local ssh config file?
How can I set the path or any other environment variable for a task or entire playbook?
Enlist the differences between variable name and environment variables.
List some advantages of using ansible.
Write a playbook to create a backup of a file in the remote servers before copy.