How to write ansible roles
- tasks: Tasks to be executed by the Role
- handlers: Contain handlers, which may be used by this role or even anywhere outside this role
- defaults: Default variables for the role
- vars: Other variables which are of more priority than the defaults for Role
- files โ This contains the files which can be deployed via Role.
- templates โ Contains templates which can be deployed via Role