Daily Shaarli

All links of one day in a single page.

Yesterday - July 18, 2025

Ansible gotchas for the forgetful developer

include_tasks files that in turn contain import_tasks cause cryptic errors

It appears to be good practice to avoid using import_tasks in a file if the file itself was included with include_tasks.

If you do you will get a cryptic error message like:

# ERROR! Unexpected Exception, this is probably a bug: expected str, bytes or os.PathLike object, not NoneType