ansible/test
Petr Svoboda e3adfbf5f8 Add tests for undefined variable detection
Tests `test_playbook_undefined_varsX_fail` check if ansible detects
undefined variables when `error_on_undefined_vars` is enabled. These
tests fail without "Improve behavior with error_on_undefined_vars
enabled" patch.

Tests `test_playbook_undefined_varsX_ignore` check if ansible ignores
undefined variables when `error_on_undefined_vars` is disabled.

Also modify PlayBook._run_task_internal() so error_on_undefined_vars is
testable.
2013-08-20 00:40:49 -05:00
..
action_plugins Plug-ins loaded from top-level plug-in directory 2013-05-24 17:05:28 -05:00
assemble.d - Makefile now works with freebsd (date command options are diff) 2012-08-29 09:46:05 -04:00
inventory_dir Handle '#' in var strings by splitting on ' #' 2013-05-31 12:34:45 -06:00
test_hash_behavior Added basic support for hash_behaviour=merge in roles 2013-06-19 09:14:20 +03:00
test_playbook_undefined_vars Add tests for undefined variable detection 2013-08-20 00:40:49 -05:00
test_playbook_vars Always load group_vars and host_vars. 2012-08-13 21:08:05 -07:00
ansible.cfg Fixed tests to reflect desired configuration behaviour 2012-10-18 12:53:30 +10:00
ansible_hosts - Makefile now works with freebsd (date command options are diff) 2012-08-29 09:46:05 -04:00
apt_key.gpg add apt_key module 2013-01-15 17:34:38 -08: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 Merge pull request #1776 from junegunn/inventory-group-var-ws 2012-12-17 16:51:49 -08:00
cron_test.yml Cron module upgrades 2013-02-09 11:11:19 -05: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 Make tests use the local connection type, fix missing callback in tests. 2012-11-19 10:30:30 -05:00
inventory_api.py Return multiple groups from inventory API. 2012-10-10 18:35:45 +02:00
jinja2_overrides.tpl moved override matching string to variable changed test template to match Signed-off-by: Brian Coca <briancoca+ansible@gmail.com> 2012-11-26 10:41:13 -05:00
large_range Alphabetic inventory hostname patterns. 2012-12-10 20:48:38 -06:00
lookup_plugins.yml Merge pull request #3685 from mspaulding06/indexed_items 2013-08-03 11:36:51 -07:00
playbook-changed_when.yml Introduce 'changed_when' keyword to override a task's changed status with the evaluation of a Jinja2 expression 2013-07-14 21:07:45 +02:00
playbook-ignore-errors.yml Add test for 'ignore_errors:' 2013-07-01 02:31:16 +02:00
playbook-included.yml Make use of yes/no booleans in playbooks 2012-12-14 11:56:53 +01:00
playbook-includer.yml Since we removed the (undocumented) playbook include + with_items code, fix the tests to 2013-04-10 15:08:18 -04:00
playbook-templated-includer.yml Enabled the use of extra vars in playbook file paths when including playbooks from other playbooks. 2013-07-18 22:45:18 +02:00
playbook-when.yml Prevent premature substitution of variables into tasks 2013-04-12 09:17:03 +10:00
playbook1.yml Preliminary ability to use Jinja2 {{ }} to replace ${foo.bar} in playbooks. Can't use both at the same time per line. 2013-04-03 01:04:16 -04:00
results_list.yml Make tests use the local connection type, fix missing callback in tests. 2012-11-19 10:30:30 -05:00
rocannon.txt Added test cases for lineinfile. 2013-02-23 12:50:18 -05:00
sample.j2 Fixing bug with unicode templates. 2013-02-05 14:49:59 +01:00
simple_hosts Alphabetic inventory hostname patterns. 2012-12-10 20:48:38 -06:00
task-included.yml Test case and fix for shlex.split unicode bug 2013-04-08 14:47:43 +10:00
task-includer.yml Test case and fix for shlex.split unicode bug 2013-04-08 14:47:43 +10: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
TestConstants.py Fixed tests to reflect desired configuration behaviour 2012-10-18 12:53:30 +10:00
TestFilters.py Disable filter test for now since it should really be testing at a lower level. 2013-03-01 17:42:14 -05:00
TestInventory.py add tests for the -i option when used with raw string for ipv4 2013-08-19 15:27:21 -05:00
TestPlayBook.py Add tests for undefined variable detection 2013-08-20 00:40:49 -05:00
TestRunner.py Remove some test prints 2013-08-10 17:37:04 -04:00
TestUtils.py stringify conditional before handing it to Jinja2 for evaluation. 2013-07-23 22:24:53 +02:00
world Add test data file 2012-09-17 18:31:49 +02:00