add or link 2 surveys to a playbook

Hello AWX Project,
I have code that works (finally), it creates a playbook, and creates a survey and survey spec
I use jinja code to create the survey. I used the awx.awx.job_template modlue to do this.

This survey shows a list of directories. each directory has from 1 to a few files.

I would like to be able to select a directory from the first survey, and then select a file from the second survey that is in the directory. The jinja code splits out the slashes in the path name.

I have tried to use the “survey_spec:” variable two
times, but that does not seem to work,

any tips?

ewholz

At this time, AWX does not support dynamic surveys where you could change a second field based off a first field. Nor does it support secondary prompting based on the input of a first survey.

-The AWX Team

OK Thanks - that is very clear to me!