Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What’s the difference between Ansible Playbook and Roles?
Home
DevOps
What’s the difference between Ansible Playbook and Roles?
0
votes
asked
Mar 9, 2020
in
DevOps
by
Hodge
What’s the difference between Ansible Playbook and Roles?
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Mar 9, 2020
by
Hodge
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.
...