9e4fac5ebd
This fixes a few issues, - ${foo}${bar} would be parsed as a variable named foo}${bar, which wouldn't be easily fixed without breaking ${foo.${bar}} - allows escaping . in variable parts so e.g. ${hostvars.{test.example.com}.foo} works This is slower than using re. 3 million templating calls take about about twice as long to complete with this compared to the regexp, from ~65 seconds to ~115 seconds on my laptop. |
||
---|---|---|
.. | ||
assemble.d | ||
test_playbook_vars | ||
ansible_hosts | ||
CentOS.yml | ||
common_vars.yml | ||
complex_hosts | ||
default_os.yml | ||
hosts_list.yml | ||
inventory_api.py | ||
playbook1.yml | ||
results_list.yml | ||
sample.j2 | ||
simple_hosts | ||
template-basic | ||
template-whitespace | ||
TestInventory.py | ||
TestPlayBook.py | ||
TestRunner.py | ||
TestUtils.py | ||
world |