0 votes
in Ansible by
What is the purpose of the Ansible Role?

a) To store the playbook files

b) To store the inventory file

c) To define a set of tasks, files, templates, and other content that can be reused across playbooks

d) To store the sensitive data

1 Answer

0 votes
by
Solution: c) To define a set of tasks, files, templates, and other content that can be reused across playbooks

Explanation: An Ansible Role is a collection of tasks, files, templates, and other content that can be reused across playbooks. Roles can be shared and installed like collections, making them a powerful tool for managing infrastructure.
...