Hi there,
I’m running AWX 17.0.1, recently upgraded from 15.x.
Now, suppose you have a template whose default extra_vars are
foo: bar
username: "{{ awx_user_name }}"
Now consider that this template has a survey to read the user’s input to the username variable. The survey doesn’t have a default value, therefore unless the user types in anything, the value returned by the survey will be an empty variable.
It seems that before version 17.x (didn’t test this on 16.x), AWX would preserve the template’s default extra_vars value but now I see that the empty string gets sent instead.
Could this be considered a bug or is it expected behavior?
As a workaround, I’m setting a default of “{{ awx_user_name }}” to that particular survey.
Thanks in advance for any guidance on this.
Best regards,
Kdu