host_vars group_vars ansible

Nope, but it was done by extending the vars_files logic, and that is
playbook specific.

If someone wants to try to make it work for both, without breaking the
way vars_files precedence works now, be my guest.

I think it would involve checking in Runner code:

if not self.is_playbook:
    # make some calls to load things