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

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

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.