mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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 | ||