Template module options template_path and template_fullpath

72 views
Skip to first unread message

Steve McKuhr

unread,
Aug 30, 2015, 1:12:53 PM8/30/15
to Ansible Project
From 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?

--
Steve

Brian Coca

unread,
Sep 9, 2015, 2:43:24 PM9/9/15
to Ansible Project
so in devel:

temp_vars['template_path'] = source
temp_vars['template_fullpath'] = os.path.abspath(source)

i might need to update the docs
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/fae2d408-51d3-4f59-8e9d-cb219229bd1e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages