# I am using ansible 2.2 and new to this. I  need to know the current jinja version on my ansible and command to update it to 2.7 as i need to use the "map" which is avilable in 2.7 only

**URL:** <https://forum.ansible.com/t/i-am-using-ansible-2-2-and-new-to-this-i-need-to-know-the-current-jinja-version-on-my-ansible-and-command-to-update-it-to-2-7-as-i-need-to-use-the-map-which-is-avilable-in-2-7-only/24472>\
**Category:** Ansible Project\
**Created:** [May 12, 2017, 12:36pm UTC](https://forum.ansible.com/t/i-am-using-ansible-2-2-and-new-to-this-i-need-to-know-the-current-jinja-version-on-my-ansible-and-command-to-update-it-to-2-7-as-i-need-to-use-the-map-which-is-avilable-in-2-7-only/24472 "2017-05-12T12:36:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishant\_bawane](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@nishant\_bawane](https://forum.ansible.com/u/nishant_bawane)\
**Post date:** [May 12, 2017, 12:36pm UTC](https://forum.ansible.com/t/i-am-using-ansible-2-2-and-new-to-this-i-need-to-know-the-current-jinja-version-on-my-ansible-and-command-to-update-it-to-2-7-as-i-need-to-use-the-map-which-is-avilable-in-2-7-only/24472/1 "2017-05-12T12:36:44Z")

</div>

I am using ansible 2.2 and new to this. I need to know the current jinja version on my ansible and command to update it to 2.7 as i need to use the “map” which is avilable in 2.7 only

---

<div class="post-metadata">

**Author:** ![nishant\_bawane](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@nishant\_bawane](https://forum.ansible.com/u/nishant_bawane)\
**Post date:** [May 12, 2017, 12:39pm UTC](https://forum.ansible.com/t/i-am-using-ansible-2-2-and-new-to-this-i-need-to-know-the-current-jinja-version-on-my-ansible-and-command-to-update-it-to-2-7-as-i-need-to-use-the-map-which-is-avilable-in-2-7-only/24472/2 "2017-05-12T12:39:46Z")

</div>



---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 12, 2017, 3:45pm UTC](https://forum.ansible.com/t/i-am-using-ansible-2-2-and-new-to-this-i-need-to-know-the-current-jinja-version-on-my-ansible-and-command-to-update-it-to-2-7-as-i-need-to-use-the-map-which-is-avilable-in-2-7-only/24472/3 "2017-05-12T15:45:33Z")

</div>

Ansible does not include Jinja2, it is a dependency, so whatever  
method you used to install Ansible should be used to determine Jinja2  
version and update.

Ansible itself can use package managers (pip or OS specific) to  
check/update this when targeting localhost.
