Files
ansible/test/integration/targets/callback_default/callback_default.out.include_role_fails.stderr
Martin Krizek 06cd285901 Play recap stats and callbacks for include_role, consolidate with include_tasks (#79260)
This moves handling of callbacks and play recap stats from
_load_included_file to individual strategies so include_role tasks are
accounted for, not just include_tasks.

Fixes #77336
2024-01-23 15:57:05 +01:00

13 lines
477 B
Plaintext

+ ansible-playbook -i inventory test_include_role_fails.yml
++ set +x
ERROR! the role 'does-not-exist' was not found in TEST_PATH/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:TEST_PATH
The error appears to be in 'TEST_PATH/test_include_role_fails.yml': line 5, column 15, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- include_role:
name: does-not-exist
^ here