in Ansible by
Ansible Playbooks vs Roles

▼ Show 1 Answer

0 votes

Roles                                                                    Playbooks

Roles are reusable subsets of a play.                Playbooks contain Plays.

A set of tasks for accomplishing certain role.    Mapps among hosts and roles.

Example: common, webservers.                  Example: site.yml, fooservers.yml, webservers.yml.

Learn More with Madanswer

Related questions

0 votes
asked Jan 29, 2020 in Ansible by rajeshsharma
0 votes