Virgil Dupras
bf48383610
Fix regression in jinja2 include search path ( #18617 )
...
* Fix regression in jinja2 include search path
Since commit 3c39bb5 , the 'ansible_search_path' variable is used to set
jinja2's search path for {% include %} directives. However, this path is
the the proper one because our templates live in 'templates' subdirs in
our search path.
This is a regression because previously, our include search path would
include the dirname of the currently interpreted file, which worked most
of the time.
fixes #18526
* Fix template lookup search path
Improve fix in commit c96c853 so that the search path contain both
template-suffixed paths as well as original paths.
ref PR #18617
* Add integration test for template lookups
Tests regression at #18526
This test fails on current devel branch and succeeds on PR #18617
2016-11-29 16:23:06 -05:00
..
2016-10-13 09:09:25 -07:00
2016-11-10 23:58:32 -08:00
2016-11-11 14:50:57 -08:00
2016-10-13 09:09:25 -07:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-11-29 14:47:22 -05:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-10-12 14:57:53 -07:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-13 09:09:25 -07:00
2016-10-12 14:57:53 -07:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-18 10:44:17 -08:00
2016-10-12 14:57:53 -07:00
2016-11-13 15:24:44 -06:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-11-11 14:50:57 -08:00
2016-10-13 09:09:25 -07:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-13 09:09:25 -07:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-11-29 16:23:06 -05:00
2016-10-13 09:09:25 -07:00
2016-11-21 16:46:59 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-13 09:09:25 -07:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-28 19:50:29 +01:00
2016-10-13 09:09:25 -07:00
2016-10-28 19:50:29 +01:00
2016-10-13 09:09:25 -07:00
2016-11-11 14:50:57 -08:00
2016-11-23 17:02:34 -08:00
2016-11-23 17:02:34 -08:00
2016-11-23 17:02:34 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-23 11:28:28 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-12 14:57:53 -07:00
2016-10-13 09:09:25 -07:00
2016-10-24 06:50:06 -07:00
2016-10-12 22:22:46 -07:00
2016-11-11 14:50:57 -08:00
2016-11-22 10:56:37 -05:00
2016-11-21 15:46:46 +00:00
2016-11-11 14:50:57 -08:00
2016-11-18 11:39:06 -08:00
2016-10-25 17:23:24 -07:00
2016-11-11 14:50:57 -08:00
2016-10-13 18:03:19 +01:00
2016-10-13 18:03:19 +01:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-13 18:03:19 +01:00
2016-11-11 14:50:57 -08:00
2016-10-13 18:03:19 +01:00
2016-10-13 18:03:19 +01:00
2016-11-11 14:50:57 -08:00
2016-10-13 18:03:19 +01:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-13 18:03:19 +01:00
2016-10-13 18:03:19 +01:00
2016-11-11 14:50:57 -08:00
2016-10-25 17:23:24 -07:00
2016-10-13 18:03:19 +01:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-10-13 18:03:19 +01:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00
2016-11-11 14:50:57 -08:00