Use when structuring and reusing code with Ansible roles for modular, maintainable automation and configuration management.