# Template module options template\_path and template\_fullpath

**URL:** <https://forum.ansible.com/t/template-module-options-template-path-and-template-fullpath/19145>\
**Category:** Ansible Project\
**Created:** [August 30, 2015, 9:31am UTC](https://forum.ansible.com/t/template-module-options-template-path-and-template-fullpath/19145 "2015-08-30T09:31:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_McKuhr](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Steve\_McKuhr](https://forum.ansible.com/u/Steve_McKuhr)\
**Post date:** [August 30, 2015, 9:31am UTC](https://forum.ansible.com/t/template-module-options-template-path-and-template-fullpath/19145/1 "2015-08-30T09:31:09Z")

</div>

From [http://docs.ansible.com/ansible/template\_module.html:](http://docs.ansible.com/ansible/template_module.html:)

[…] template\_path the absolute path of the template, template\_fullpath is the absolute path of the template […]

The documentation is correct, however I’m guessing the intend was perhaps for ‘template\_path’ to show the relative path?

---

<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:** [September 9, 2015, 6:43pm UTC](https://forum.ansible.com/t/template-module-options-template-path-and-template-fullpath/19145/2 "2015-09-09T18:43:09Z")

</div>

so in devel:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;temp\_vars['template\_path'] = source  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;temp\_vars['template\_fullpath'] = os.path.abspath(source)

i might need to update the docs
