# Action plugin not called in Network Collection

**URL:** <https://forum.ansible.com/t/action-plugin-not-called-in-network-collection/39635>\
**Category:** Get Help\
**Tags:** network\
**Created:** [January 15, 2025, 6:49pm UTC](https://forum.ansible.com/t/action-plugin-not-called-in-network-collection/39635 "2025-01-15T18:49:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathias-gt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mathias-gt/32/11062_2.png) [@mathias-gt](https://forum.ansible.com/u/mathias-gt)\
**Post date:** [January 15, 2025, 6:49pm UTC](https://forum.ansible.com/t/action-plugin-not-called-in-network-collection/39635/1 "2025-01-15T18:49:55Z")

</div>

Hello,

I’m writing an Ansible Collection for Alcatel-Lucent Enterprise OmniSwitch: [https://github.com/ale-nsa-team/ale.aos8](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](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? 🙂

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [January 15, 2025, 7:04pm UTC](https://forum.ansible.com/t/action-plugin-not-called-in-network-collection/39635/2 "2025-01-15T19:04:51Z")

</div>

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](https://github.com/ale-nsa-team/ale.aos8/blob/master/plugins/action/aos8.py)) and `ale.aos8.hostname` (for [ale.aos8/plugins/action/hostname.py at master · ale-nsa-team/ale.aos8 · GitHub](https://github.com/ale-nsa-team/ale.aos8/blob/master/plugins/action/hostname.py) - I hope it’s a symlink and not a file with a filename in its single line)? Does that call the action plugins?

---

<div class="post-metadata">

**Author:** ![bcoca](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bcoca/32/9269_2.png) [@bcoca](https://forum.ansible.com/u/bcoca)\
**Post date:** [January 17, 2025, 4:44pm UTC](https://forum.ansible.com/t/action-plugin-not-called-in-network-collection/39635/3 "2025-01-17T16:44:51Z")

</div>

I believe you need to add `action_plugin` to your collection’s meta/runtime.yml ([example](https://github.com/ansible/ansible/blob/ad93b96750fa04e8e14c0a0ea5fd3b2162a312b7/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/meta/runtime.yml#L44))for the modules or have users update NETWORK\_GROUP\_MODULES config entry to have your collection os prefix listed
