# String being submitted when it should be an integer

**URL:** <https://forum.ansible.com/t/string-being-submitted-when-it-should-be-an-integer/4800>\
**Category:** Get Help\
**Tags:** playbook\
**Created:** [April 7, 2024, 2:40pm UTC](https://forum.ansible.com/t/string-being-submitted-when-it-should-be-an-integer/4800 "2024-04-07T14:40:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![GreatBigBear](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/greatbigbear/32/2828_2.png) [@GreatBigBear](https://forum.ansible.com/u/GreatBigBear)\
**Post date:** [April 7, 2024, 5:56pm UTC](https://forum.ansible.com/t/string-being-submitted-when-it-should-be-an-integer/4800/6 "2024-04-07T17:56:08Z")

</div>

I found a solution. I needed to set the jinja2 Native to true. Feel free to look at this solution. Thank you.

> [@AWX and ANSIBLE\_JINJA2\_NATIVE=true](http://forum.ansible.com/t/awx-and-ansible-jinja2-native-true/4220):
>
> Hi need to run a template with the the value of ANSIBLE\_JINJA2\_NATIVE=true to fix a problem with URI module. I need to execute a POST with variables created with the set\_fact command that add double quotes (which must not be present). From CLI I solved it by prefixing ANSIBLE\_JINJA2\_NATIVE=True to the ansible-playbook command

---

_[View the full topic](https://forum.ansible.com/t/string-being-submitted-when-it-should-be-an-integer/4800)._
