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/test_playbook_undefined_vars
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
..
hosts Add tests for undefined variable detection 2013-08-20 00:40:49 -05:00
playbook1.yml Add tests for undefined variable detection 2013-08-20 00:40:49 -05:00
playbook2.yml Add tests for undefined variable detection 2013-08-20 00:40:49 -05:00