# Job templates not parsing roles inside a playbook when executed from the GUI on 9.0.1

**URL:** <https://forum.ansible.com/t/job-templates-not-parsing-roles-inside-a-playbook-when-executed-from-the-gui-on-9-0-1/31604>\
**Category:** AWX Project\
**Created:** [November 6, 2019, 8:58am UTC](https://forum.ansible.com/t/job-templates-not-parsing-roles-inside-a-playbook-when-executed-from-the-gui-on-9-0-1/31604 "2019-11-06T08:58:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [November 6, 2019, 8:58am UTC](https://forum.ansible.com/t/job-templates-not-parsing-roles-inside-a-playbook-when-executed-from-the-gui-on-9-0-1/31604/1 "2019-11-06T08:58:02Z")

</div>

I’ve opened this one as an issue on git as well.

I have some simple playbooks with roles, something like this:

- hosts: all  
remote\_user: root  
roles:
  - common-apps
  - users

if i run this playbook from the web interface, the playbook just completes without executing the roles and the job is marked as successfully complete. it was working fine prior to version 8.0.0

if i run the same playbook from the celery pod, it executes correctly the roles.

Note: Roles and playbook are on a submodule

I’ve attache 2 screenshots of the same playbook executed from the GUI and from the celery pod.

the playbook from the GUI : as you can see, no task from roles are executed

 ![Screenshot at Nov 05 16-31-20.png](https://us1.discourse-cdn.com/ansible/original/2X/5/57a1d91c4104d4bfe7b33ff2f38f52753457e906.png)

Below, the same playbook ran from the celery container - tasks are correctly executed

 ![Screenshot at Nov 05 16-32-46.png](https://us1.discourse-cdn.com/ansible/original/2X/7/7cb3b3ca0f349c23adadff67f9f2ee3077ca49a8.png)

Any idea?

> **(attachments)**
>
> ![Screenshot at Nov 05 16-31-20.png](https://us1.discourse-cdn.com/ansible/original/2X/5/57a1d91c4104d4bfe7b33ff2f38f52753457e906.png)

---

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [November 12, 2019, 8:26am UTC](https://forum.ansible.com/t/job-templates-not-parsing-roles-inside-a-playbook-when-executed-from-the-gui-on-9-0-1/31604/2 "2019-11-12T08:26:07Z")

</div>

i’ve also moved the playbook and the roles outside the submodule directory and it worked fine, so definitely it’s a GUI bug with submodules.

anyone else can reproduce it please?
