class

Krikri::RoleTasksFromFileError

Inherits Exception < Reference < Object

Raised at PARSE time when a STATIC import_role:'s tasks_from: points at a file that does not exist in the role. ansible-core's own playbook-load refusal: role/init.py's "Could not find specified file in role: tasks/<from>" (AnsibleParserError, plain [ERROR]: line on STDERR with NO Origin block, parser-error rc=4 - live-verified vs 2.19.11 with import_role: {name: r, tasks_from: nested} where tasks/nested.yml does not exist; the same role with no tasks_from: at all does NOT error, matching real's elif main is not None guard). Distinct class so krikri-playbook.cr can render the plain no-Origin shape instead of an Origin block or the import_tasks:-path rc=1 render.