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.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| assemble.d | Loading commit data... | |
| test_playbook_vars | Loading commit data... | |
| CentOS.yml | Loading commit data... | |
| TestInventory.py | Loading commit data... | |
| TestPlayBook.py | Loading commit data... | |
| TestRunner.py | Loading commit data... | |
| TestUtils.py | Loading commit data... | |
| ansible_hosts | Loading commit data... | |
| common_vars.yml | Loading commit data... | |
| complex_hosts | Loading commit data... | |
| default_os.yml | Loading commit data... | |
| hosts_list.yml | Loading commit data... | |
| inventory_api.py | Loading commit data... | |
| playbook1.yml | Loading commit data... | |
| results_list.yml | Loading commit data... | |
| sample.j2 | Loading commit data... | |
| simple_hosts | Loading commit data... | |
| template-basic | Loading commit data... | |
| template-whitespace | Loading commit data... | |
| world | Loading commit data... |