Roles: Organizing Reusable Code
As a playbook grows, you need organization. A role is how Ansible packages tasks, handlers, templates, and variables into a reusable unit with a standard directory structure. This article: create a role with ansible-galaxy init, fill it in, and use it in a playbook.
K
KaiMay 23, 2026· 18 views