What I managed to do at the moment, is to pass the parameters to the script via a configuration file.
Is it possible to pass them directly from Tower Template Survey?
The Python script is located in a SCM System.
myscript.py
config.ini
What I managed to do at the moment, is to pass the parameters to the script via a configuration file.
Is it possible to pass them directly from Tower Template Survey?
The Python script is located in a SCM System.
myscript.py
config.ini
You can access a survey variable the same way as any variable in ansible
For example
Passing a password via survey
Answer varaible name
that you set can be used for getting value of the variable in the survey
https://docs.ansible.com/ansible-tower/latest/html/userguide/job_templates.html#create-a-survey