We have a working Ansible playbook that uses the NetApp ONTAP modules to snapshot and clone volumes. When we hardcode SVM (vserver) names in the playbook, everything runs successfully.
However, when we switch to using Multiple Choice (Single Select) survey fields in AWX to select the source_vserver and clone_vserver , the playbook fails with:
NetApp API failed. Reason - 15698: Specified vserver not found
Even though the dropdown values match the SVM names exactly (e.g., svm-spark ), and we use Jinja | trim to clean any potential whitespace, Ansible still receives either an undefined or invalid value.
We’ve confirmed:
The same values work when hardcoded
The survey variables (source_vserver and clone_vserver ) are spelled correctly and bound to the dropdowns
We added debug output to show the variable values — but it still fails
Our dropdown values contain no visible whitespace or formatting issues
This leads us to believe that the survey input isn’t being passed cleanly into the playbook at runtime, even though it appears correctly in the UI.
Environment Info:
AWX Version : 22.4.0
Execution Environment : Custom EE with netapp.ontap collection 22.13.0
Playbook Location : Git-based project
Launch Method : Job Template via UI with survey input
Expected Behavior:
Dropdown selections from the AWX survey should populate the source_vserver and clone_vserver variables exactly as typed and pass them into the playbook without introducing errors.
The latest AWX release appears to be 24.6.1, maybe it’s fixed in that version?
I see that the survey answer types are “multiple select” which I believe returns a list, not a single string. Do you need to have more than 1 answer selected for these? If not, I would change the type to “Multiple Choice (Single Select)”.