Remove limit on limit field.

This allows 'relaunch-on-failed' on an arbitrary number of failed hosts.
This commit is contained in:
Bill Nottingham
2019-02-05 13:30:51 -05:00
parent 7333e55748
commit 4b669fb16d
3 changed files with 26 additions and 7 deletions

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.16 on 2019-02-05 18:29
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0057_v350_remove_become_method_type'),
]
operations = [
migrations.AlterField(
model_name='job',
name='limit',
field=models.TextField(blank=True, default=''),
),
migrations.AlterField(
model_name='jobtemplate',
name='limit',
field=models.TextField(blank=True, default=''),
),
]

View File

@@ -93,8 +93,7 @@ class JobOptions(BaseModel):
blank=True,
default=0,
)
limit = models.CharField(
max_length=1024,
limit = models.TextField(
blank=True,
default='',
)