Open cloin opened 1 year ago
I would say is not a bug but a feature request. sources
flag indicates clearly that are sources, not filters. Anyway the description could be better.
I guess we could add a new flag for local filters or create a new one "plugins" able to take both types.
Should I open a new issue with a better description?
If you agree to treat it as a request feature that looks good to me.
Please confirm the following
Bug Summary
When developing filter plugins, passing
--source-dir
does not allow for local filter plugins, only local local source plugins. This means that the filter plugin has to be published in a collection to be tested.Environment
Steps to reproduce
ansible-rulebook -r webhook.yml -i inventory.yml -S ./extensions/eda/plugins/event_filter/ --verbose
Actual results
ansible-rulebook fails because it can't find the filter plugin
Expected results
ansible-rulebook finds the filter plugin based on the path in SOURCE_DIR
Additional information
No response