include_role variables scoping issue

Hi there,

It appears the variables that are passed to a role from a play can’t be overridden in include_role. Does anyone have this issue?

Example:

---
- name: test
  hosts: localhost
  connection: local
  gather_facts: false

  roles:
    - { role: roleA, name: 'testname1' }

In roleA the task is doing:

- name: test
  include_role:
    name: roleB
    tasks_from: foobar123
  vars:
    name: testname2

In this case the value in roleB->foobar123->name will be testname1 while it should be testname2.