# ASK to pass variable over another host

**URL:** <https://forum.ansible.com/t/ask-to-pass-variable-over-another-host/15918>\
**Category:** Ansible Project\
**Created:** [August 12, 2014, 6:53am UTC](https://forum.ansible.com/t/ask-to-pass-variable-over-another-host/15918 "2014-08-12T06:53:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Yusuf](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@Muhammad\_Yusuf](https://forum.ansible.com/u/Muhammad_Yusuf)\
**Post date:** [August 12, 2014, 6:53am UTC](https://forum.ansible.com/t/ask-to-pass-variable-over-another-host/15918/1 "2014-08-12T06:53:21Z")

</div>

i got some situation :  
host file : development  
[master]  
1.2.3.4  
[client]  
1.2.3.5 dump\_var=“testing”  
1.2.3.10 dump\_var=“test2”

yml file :  
site.yml

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [August 12, 2014, 11:29am UTC](https://forum.ansible.com/t/ask-to-pass-variable-over-another-host/15918/2 "2014-08-12T11:29:32Z")

</div>

Absolutely!

Read this chapter about “hostvars”:

[http://docs.ansible.com/playbooks\_variables.html#magic-variables-and-how-to-access-information-about-other-hosts](http://docs.ansible.com/playbooks_variables.html#magic-variables-and-how-to-access-information-about-other-hosts)
