• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Ansible by
Q:
Ansible Playbooks vs Roles

1 Answer

0 votes
by

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.

Related questions

+1 vote
asked May 8, 2020 in Ansible by SakshiSharma
0 votes
0 votes
0 votes
asked Nov 13, 2019 in Ansible by rajeshsharma
...