# Extracting value from ansible play

**URL:** <https://forum.ansible.com/t/extracting-value-from-ansible-play/34785>\
**Category:** Ansible Developer\
**Created:** [March 15, 2021, 10:31am UTC](https://forum.ansible.com/t/extracting-value-from-ansible-play/34785 "2021-03-15T10:31:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heman\_Malve](https://avatars.discourse-cdn.com/v4/letter/h/eb8c5e/32.png) [@Heman\_Malve](https://forum.ansible.com/u/Heman_Malve)\
**Post date:** [March 15, 2021, 10:31am UTC](https://forum.ansible.com/t/extracting-value-from-ansible-play/34785/1 "2021-03-15T10:31:56Z")

</div>

Team,

During ansible play one of the debug variable as shown below  
ok: [hostname] =\> {  
“variable name”: [  
“value”  
]  
}

/tmp/“{{value}}” ==\> /tmp/"[u’value’]"  
I want to use only value instead of u, , now and expecting output as /tmp/value ; please suggest…
