Ansible nested playbooks with variables
the best way I think is to create a var  yml file and include it in your ansible-books:

    - name: Include vars of stuff.yaml into the 'stuff' variable (2.2).
      include_vars:
        file: stuff.yaml
        name: stuff


see include_vars_module