Action plugin not called in Network Collection

Hello,

I’m writing an Ansible Collection for Alcatel-Lucent Enterprise OmniSwitch: https://github.com/ale-nsa-team/ale.aos8.

I realized that my action plugin is never being called. I’ve searched extensively, but I can’t seem to get my collection to invoke its action plugin. I noticed that the action plugin is being called around this line: https://github.com/ansible/ansible/blob/ad93b96750fa04e8e14c0a0ea5fd3b2162a312b7/lib/ansible/executor/task_executor.py#L673, but I’m stuck at that point.

Could someone advise me on how to resolve this issue? :slight_smile:

So what happens if you have a task ale.aos8.aos8 (for ale.aos8/plugins/action/aos8.py at master · ale-nsa-team/ale.aos8 · GitHub) and ale.aos8.hostname (for ale.aos8/plugins/action/hostname.py at master · ale-nsa-team/ale.aos8 · GitHub - I hope it’s a symlink and not a file with a filename in its single line)? Does that call the action plugins?

I believe you need to add action_plugin to your collection’s meta/runtime.yml (example)for the modules or have users update NETWORK_GROUP_MODULES config entry to have your collection os prefix listed