Nesting roles and omitting vars

Hi

I’m trying to nest roles using dependencies in order to reuse as much code as possible and get into trouble when trying to omit some parameters

My setup:

`

roles/roleA/tasks/main.yml

In your RoleB role, use a defaults file to handle default variables. That will ensure you always have the var_roleb variable defined.
http://docs.ansible.com/ansible/playbooks_roles.html#role-default-variables

Hello.

It doesn’t exactly meet my need, I’d like to be able to write:

`

roles/roleA/tasks/main.yml