action_plugins are not loaded relative to current playbook

Hi All,

Could someone please help with spotting problem in my actions or confirm that there is a problem in Ansible.
Based on https://github.com/ansible/ansible/issues/6089
I’m trying to load action plugin from playbook’s relative directory “action_plugins”

tree

├── action_plugins

│ ├── category

│ │ └── extract.py

│ └── extract.py

└── test.yml

2 directories, 3 files

in test.yml:

  • hosts: all tasks:
  • extract: name=test
    The result is

ERROR: extract is not a legal parameter in an Ansible task or handler

extract.py:

cat action_plugins/extract.py
#!/usr/bin/python

-- coding: utf-8 --

Action plugins don’t have categories, that is probably it.

– Michael

I put module into category and one level above but Looks like I confused modules and action plugins and they are of different type.
Is there any way to distribute core modules relatively to playbook?