# include\_vars variables persist across plays ?

**URL:** <https://forum.ansible.com/t/include-vars-variables-persist-across-plays/14052>\
**Category:** Ansible Project\
**Created:** [December 3, 2013, 3:37pm UTC](https://forum.ansible.com/t/include-vars-variables-persist-across-plays/14052 "2013-12-03T15:37:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Renaud\_Guerin](https://avatars.discourse-cdn.com/v4/letter/r/e9bcb4/32.png) [@Renaud\_Guerin](https://forum.ansible.com/u/Renaud_Guerin)\
**Post date:** [December 3, 2013, 3:37pm UTC](https://forum.ansible.com/t/include-vars-variables-persist-across-plays/14052/1 "2013-12-03T15:37:28Z")

</div>

Hi,

I have set ansible\_ssh\_host to a default value in my inventory.

Under some circumstances inside a role, I’ll use include\_vars to override it with something else.

Later in the playbook, in a different play, I’m calling this role again on the same host with different parameters, and it looks like ansible\_ssh\_host still has the overridden value from the previous play.

Shouldn’t it have reverted to the original inventory value at this point ? Is there a way to make it so ?

Thanks !
