mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 16:21:12 +00:00
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.
6 lines
110 B
INI
6 lines
110 B
INI
localhost
|
|
|
|
[all:vars]
|
|
inventory_var_good="{{ playbook_var_good }}"
|
|
inventory_var_bad="{{ playbook_var_bad }}"
|