...

Cloud Computing - Ansible

Back to Course

Lesson Description


Lession - #822 Ansible Roles


Roles give a system to framework autonomous, or related assortments of factors, undertakings, records, formats, and modules. In Ansible, the job is the essential system for breaking a playbook into various records. This improves on composing complex playbooks, and it makes them simpler to reuse.



Roles give a system to completely autonomous or associated assortments of documents, assignments, formats, factors, and modules.

The role is the essential instrument for breaking a playbook into various records. This improves on composing complex playbooks and makes them simpler to reuse. The breaking of the playbook permits you to break the playbook into reusable parts.

Every role is restricted to a specific usefulness or wanted yield, with every one of the vital stages to give that outcome either inside a similar job itself or in different jobs recorded as conditions.

Roles are not playbooks. Jobs are little usefulness that can be utilized inside the playbooks freely. Jobs have no particular setting for which has the job will apply.

Example