# How to undefine a variable?

**URL:** <https://forum.ansible.com/t/how-to-undefine-a-variable/20324>\
**Category:** Ansible Project\
**Created:** [January 22, 2016, 10:11pm UTC](https://forum.ansible.com/t/how-to-undefine-a-variable/20324 "2016-01-22T22:11:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Weiwen\_Chen](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@Weiwen\_Chen](https://forum.ansible.com/u/Weiwen_Chen)\
**Post date:** [January 22, 2016, 10:11pm UTC](https://forum.ansible.com/t/how-to-undefine-a-variable/20324/1 "2016-01-22T22:11:33Z")

</div>

In the task I want undefine a variable. Is that possible?
