I’ve written a custom iterator that works when I put it in ansible/lib/ansible/runner/lookup_plugins, however I can’t seem to get it found when I put it with my playbooks . . . does anyone know where it should go?
If this is a lookup plugin, you should be able to put it in a directory named “lookup_plugins” at the same location as the playbook. I can’t find any documentation or code referencing this working in roles though, so I don’t believe you can embed lookup plugins in a role at this time (which you can do with modules).