ansible/test
Daniel Hokka Zakrisson 9e4fac5ebd Create a string parser for varReplace instead of using re
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.
2012-09-28 01:03:34 +02:00
..
assemble.d - Makefile now works with freebsd (date command options are diff) 2012-08-29 09:46:05 -04:00
test_playbook_vars Always load group_vars and host_vars. 2012-08-13 21:08:05 -07:00
ansible_hosts - Makefile now works with freebsd (date command options are diff) 2012-08-29 09:46:05 -04:00
CentOS.yml Allow conditional imports, see examples/playbook3.yml comments for a full explanation. Extensive 2012-03-19 22:42:31 -04:00
common_vars.yml Fix correct variable expansion in includes only_if. 2012-05-11 15:55:33 +02:00
complex_hosts Add support for ranged patterns like webservers[0-49] for hitting the first 50 webservers. 2012-08-11 13:49:18 -04:00
default_os.yml Allow conditional imports, see examples/playbook3.yml comments for a full explanation. Extensive 2012-03-19 22:42:31 -04:00
hosts_list.yml Properly template list of hosts in playbooks. 2012-05-31 16:06:21 -04:00
inventory_api.py Add tests for Inventory class. 2012-04-16 09:16:29 +02:00
playbook1.yml more whitespace 2012-08-06 21:00:21 -04:00
results_list.yml Support iteration over command output in with_items. 2012-09-17 16:57:33 -04:00
sample.j2 Here are those tests I talked about previously :) 2012-04-04 11:11:31 -04:00
simple_hosts Small change to previous patch, make ranges of hosts inclusive. 2012-07-24 20:10:05 -04:00
template-basic Update tests to reflect new API 2012-06-18 00:13:12 +02:00
template-whitespace Update tests to reflect new API 2012-06-18 00:13:12 +02:00
TestInventory.py Fix inventory.get_hosts when hosts is a list. 2012-09-11 13:00:40 -04:00
TestPlayBook.py Delete test that was coded against *local* resolv.conf -- obviously not going to be the same between people's computers 2012-09-18 21:16:35 -04:00
TestRunner.py Squashed commit of the following: 2012-09-18 21:04:42 -04:00
TestUtils.py Create a string parser for varReplace instead of using re 2012-09-28 01:03:34 +02:00
world Add test data file 2012-09-17 18:31:49 +02:00