Nov 27, 2019 in DevOps

Q: what’s the difference between Ansible Playbook and Roles?

1 Answer

Nov 27, 2019

      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.

Click here to read more about DevOps
Click here to read more about Insurance

Related questions

Aug 24, 2019 in Ansible
Oct 16 in JAVA
Aug 5 in NGINX