Role Dependencies in meta/main.yml
Chain roles that require others.
Roles That Need Other Roles
Some roles only work if another role ran first. Your app role might need a base role to harden the server before it deploys.
Meet meta/main.yml
Every role can hold a meta/main.yml file. It stores role metadata like the author, supported platforms, and its dependencies.
All lessons in this course
- Role Dependencies in meta/main.yml
- defaults vs vars: The Override Order
- include_role & import_role at Runtime
- allow_duplicates & Role Idempotency