Open lxop opened 4 years ago
@lxop can you reproduce this on AWX 12.0.0?
I'll try as soon as I get an opportunity to upgrade AWX
OK I've just tried this on AWX 13.0.0, and can confirm that the behaviour is still the same (I can reproduce this bug). @blomquisg
I'm also facing the same problem.
I'm also getting this issue in awx 19.0.
This is making nested workflow not really usable !
Did we get a solution for this ? i am still not able to resolve this issue :(
ISSUE TYPE
SUMMARY
In AWX I can create a workflow template containing another workflow template, which in turn contains a job template. I can set surveys and extra-vars on the inner workflow template and they will be available to the playbook that runs from the job template. However, if I set surveys or extra-vars on the outer workflow template, they are not passed on to the playbook.
ENVIRONMENT
STEPS TO REPRODUCE
Create a playbook:
name: Debug hosts: localhost gather_facts: no tasks:
Create a job template that runs that playbook, and set an extra-variable:
Create a workflow template (call it "inner") which runs the job template above. In this workflow template set two extra variables:
Create another workflow template (call it "outer") which runs the workflow template above. In this workflow template set three extra variables:
Run the "outer" workflow template.
EXPECTED RESULTS
The playbook runs, printing
ACTUAL RESULTS
The playbook runs, and prints