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

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

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

Any idea?

(attachments)

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?