1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/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
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
ansible.cfg
ansible_hosts
apt_key.gpg
CentOS.yml
common_vars.yml
complex_hosts
cron_test.yml
default_os.yml
hosts_list.yml
inventory_api.py
jinja2_overrides.tpl
large_range
lookup_plugins.yml Merge pull request 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
playbook-includer.yml
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
results_list.yml
rocannon.txt
sample.j2
simple_hosts
task-included.yml
task-includer.yml
template-basic
template-whitespace
TestConstants.py
TestFilters.py
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