How should action plugins be named when they are trying to override a task that is called by the FQCN in ansible?
Currently if we put a plugin into the action_plugins directory, named the same as the task, it gets picked up and called.
If the same task is changed to use the FQCN, the task executor never calls the action plugin because it isn't in the commands collection. This results it is reverting back to the normal plugin https://github.com/ansible/ansible/blob/86b86398f0e0c61df615d1fcf7643f01a1084327/lib/ansible/executor/task_executor.py#L1120. This is meant to be only for plugins that do not already have a plugin assigned.
I've tried having the plugin called the FQCN name inside of the action_plugins directory, and creating subdirectories in there too matching the name, neither have worked.
Example we have plugins/action/jira.py which intercepts jira command calls and works correctly. If the users playbook calls community.general.jira instead, we can't intercept the calls.