mirror of
https://github.com/ansible/awx.git
synced 2026-08-03 11:30:00 -02:30
Initial api side implementation of the survey spec
This commit is contained in:
@@ -151,11 +151,21 @@ class JobTemplate(UnifiedJobTemplate, JobOptions):
|
||||
blank=True,
|
||||
default='',
|
||||
)
|
||||
|
||||
ask_variables_on_launch = models.BooleanField(
|
||||
blank=True,
|
||||
default=False,
|
||||
)
|
||||
|
||||
survey_enabled = models.BooleanField(
|
||||
default=False,
|
||||
)
|
||||
|
||||
survey_spec = JSONField(
|
||||
blank=True,
|
||||
default={},
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def _get_unified_job_class(cls):
|
||||
return Job
|
||||
|
||||
Reference in New Issue
Block a user