# Is it possible to pass 'vars\_prompt' variables from one playbook to another that would normally resemble passing arguments in functions?

**URL:** <https://forum.ansible.com/t/is-it-possible-to-pass-vars-prompt-variables-from-one-playbook-to-another-that-would-normally-resemble-passing-arguments-in-functions/27266>\
**Category:** Ansible Project\
**Created:** [April 12, 2018, 9:21pm UTC](https://forum.ansible.com/t/is-it-possible-to-pass-vars-prompt-variables-from-one-playbook-to-another-that-would-normally-resemble-passing-arguments-in-functions/27266 "2018-04-12T21:21:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EspressoBeanies](https://avatars.discourse-cdn.com/v4/letter/e/ea666f/32.png) [@EspressoBeanies](https://forum.ansible.com/u/EspressoBeanies)\
**Post date:** [April 12, 2018, 9:21pm UTC](https://forum.ansible.com/t/is-it-possible-to-pass-vars-prompt-variables-from-one-playbook-to-another-that-would-normally-resemble-passing-arguments-in-functions/27266/1 "2018-04-12T21:21:59Z")

</div>

I’m wondering whether or not its possible to pass variables defined by ‘vars\_prompt’ from one playbook to another when that other playbook is properly referenced in the first playbook. In other programming languages, this would be the equivalent of passing function arguments when the functions themselves are being called.
