title: Ansible run the same role multiple times with different vars file included
body: <p>I have a role which I would like to run multiple times with different vars files, I am currently doing the following:</p>
  
  <pre><code>- hosts: localhost
    pre_tasks:
        include_vars: "vars/vars1.yml"
    roles:
      - my_role
  
  - hosts: localhost
    pre_tasks:
        include_vars: "vars/vars2.yml"
    roles:
      - my_role
  </code></pre>
  
  <p>Is there a less boilerplate way to do this? I know it is <a href="http://docs.ansible.com/ansible/playbooks_roles.html#roles" rel="nofollow noreferrer">possible to parameterise roles</a> but I can't find anything in the ansible documentation regarding running a role multiple times and calling a different <code>include_vars</code> each time.</p>