Implement timeout on job/job-template.

This commit is contained in:
Aaron Tan
2016-09-13 16:17:31 -04:00
parent 37139301b4
commit d52e237ea0
3 changed files with 33 additions and 1 deletions

View File

@@ -1789,7 +1789,7 @@ class JobOptionsSerializer(BaseSerializer):
fields = ('*', 'job_type', 'inventory', 'project', 'playbook',
'credential', 'cloud_credential', 'network_credential', 'forks', 'limit',
'verbosity', 'extra_vars', 'job_tags', 'force_handlers',
'skip_tags', 'start_at_task',)
'skip_tags', 'start_at_task', 'timeout')
def get_related(self, obj):
res = super(JobOptionsSerializer, self).get_related(obj)