AWX ignores ansible.cfg library paths

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.