Skip to content

Commit fa1cae8

Browse files
committed
increase size of job-fields (fix #86)
1 parent c087f1c commit fa1cae8

File tree

1 file changed

+5
-5
lines changed
  • src/ansibleguy-webui/aw/model

1 file changed

+5
-5
lines changed

src/ansibleguy-webui/aw/model/job.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ class BaseJob(BaseModel):
4242

4343
limit = models.CharField(max_length=500, **DEFAULT_NONE)
4444
verbosity = models.PositiveSmallIntegerField(choices=CHOICES_JOB_VERBOSITY, default=0)
45-
comment = models.CharField(max_length=150, **DEFAULT_NONE)
45+
comment = models.CharField(max_length=300, **DEFAULT_NONE)
4646
mode_diff = models.BooleanField(choices=CHOICES_BOOL, default=False)
4747
mode_check = models.BooleanField(choices=CHOICES_BOOL, default=False)
4848

4949
# NOTE: one or multiple comma-separated vars
5050
environment_vars = models.CharField(max_length=1000, **DEFAULT_NONE)
5151

52-
tags = models.CharField(max_length=150, **DEFAULT_NONE)
53-
tags_skip = models.CharField(max_length=150, **DEFAULT_NONE)
54-
cmd_args = models.CharField(max_length=150, **DEFAULT_NONE)
52+
tags = models.CharField(max_length=500, **DEFAULT_NONE)
53+
tags_skip = models.CharField(max_length=500, **DEFAULT_NONE)
54+
cmd_args = models.CharField(max_length=1000, **DEFAULT_NONE)
5555

5656
class Meta:
5757
abstract = True
@@ -92,7 +92,7 @@ class Job(BaseJob):
9292
fields_allow_sq = ['comment']
9393

9494
name = models.CharField(max_length=150, null=False, blank=False)
95-
playbook_file = models.CharField(max_length=100)
95+
playbook_file = models.CharField(max_length=150)
9696
# NOTE: one or multiple comma-separated inventories
9797
inventory_file = models.CharField(max_length=300, **DEFAULT_NONE)
9898
schedule_max_len = 50

0 commit comments

Comments
 (0)