# action\_plugins are not loaded relative to current playbook

**URL:** <https://forum.ansible.com/t/action-plugins-are-not-loaded-relative-to-current-playbook/14606>\
**Category:** Ansible Project\
**Created:** [February 20, 2014, 3:36pm UTC](https://forum.ansible.com/t/action-plugins-are-not-loaded-relative-to-current-playbook/14606 "2014-02-20T15:36:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitry\_Horbach](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@Dmitry\_Horbach](https://forum.ansible.com/u/Dmitry_Horbach)\
**Post date:** [February 20, 2014, 3:36pm UTC](https://forum.ansible.com/t/action-plugins-are-not-loaded-relative-to-current-playbook/14606/1 "2014-02-20T15:36:41Z")

</div>

Hi All,

Could someone please help with spotting problem in my actions or confirm that there is a problem in Ansible.  
Based on [action\_plugins are not loaded relative to current playbook · Issue #6089 · ansible/ansible · GitHub](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 -_-

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [February 20, 2014, 3:45pm UTC](https://forum.ansible.com/t/action-plugins-are-not-loaded-relative-to-current-playbook/14606/2 "2014-02-20T15:45:48Z")

</div>

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

– Michael

---

<div class="post-metadata">

**Author:** ![Dmitry\_Horbach](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@Dmitry\_Horbach](https://forum.ansible.com/u/Dmitry_Horbach)\
**Post date:** [February 20, 2014, 7:02pm UTC](https://forum.ansible.com/t/action-plugins-are-not-loaded-relative-to-current-playbook/14606/3 "2014-02-20T19:02:41Z")

</div>

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?
