Reusing files and roles
Ansible offers two ways to reuse files and roles in a playbook: dynamic and static.
Task include and import statements can be used at arbitrary depth.
You can still use the bareroleskeyword at the play level to incorporate a role in a playbook statically. However, the bareincludekeyword, once used for both task files and playbook-level includes, is now deprecated.