# AWX ignores ansible.cfg library paths

**URL:** <https://forum.ansible.com/t/awx-ignores-ansible-cfg-library-paths/28752>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 9, 2018, 3:43pm UTC](https://forum.ansible.com/t/awx-ignores-ansible-cfg-library-paths/28752 "2018-10-09T15:43:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aestrangwood](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@aestrangwood](https://forum.ansible.com/u/aestrangwood)\
**Post date:** [October 9, 2018, 3:43pm UTC](https://forum.ansible.com/t/awx-ignores-ansible-cfg-library-paths/28752/1 "2018-10-09T15:43:36Z")

</div>

I have tried to set relative paths in ansible.cfg in particular “library”, now i can set this and run my ansible locally without issue. But if i run the same ansible scripts from AWX none of the modules are found.

For example if i have a folder in the ansible project called “modules” and add my modules there, i set library in ansible.cfg to “modules/”  
I know i can just put modules under the library folder but as subfolders are not searched here it makes it difficult to keep things tidy for me.

Please can someone give me a hand.  
AWX 1.8

ansible-playbook 2.6.4

2  
config file = /var/lib/awx/projects/\_30\_\_devops\_scripts160342/ansible.cfg

3  
configured module search path = [u’/usr/lib/python2.7/site-packages/awx/plugins/library’]

4  
ansible python module location = /usr/lib/python2.7/site-packages/ansible

5  
executable location = /usr/bin/ansible-playbook

6  
python version = 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]

7  
Using /var/lib/awx/projects/\_30\_\_devops\_scripts160342/ansible.cfg as config file

8  
setting up inventory plugins

9  
Parsed /tmp/awx\_5268\_qFieZm/tmpQxaVnt inventory source with script plugin

10  
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

11

12  
The error appears to have been in ‘/var/lib/awx/projects/\_30\_\_devops\_scripts160342/xxxxxxxx.yml’: line 18, column 7, but may

13  
be elsewhere in the file depending on the exact syntax problem.
