Difference between Ansible Playbook and Roles
| 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. |
Comments
Post a Comment