- Mastering OpenStack(Second Edition)
- Omar Khedher Chandan Dutta Chowdhury
- 76字
- 2021-07-02 23:52:47
Roles
Roles are the building blocks of an Ansible-based deployment. They represent a collection of tasks that must be performed to configure a service on a group of hosts. The Role encapsulates tasks, variable, handlers, and other related functions required to deploy a service on a host. For example, to deploy a multinode web server cluster, the hosts in the infrastructure can be assigned roles such as web server, database server, load balancer, and so on.