Categories

Nov 5, 2019 in Ansible
Q: Ansible Playbooks vs Roles

1 Answer

Nov 5, 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 Ansible
Click here to read more about Insurance

Related questions

Madanswer
Jan 29 in Ansible
Dec 5, 2019 in DevOps
Feb 12 in Ansible
...