mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
Wording changes for the system job descriptions as proposed by @mpdehaan
This commit is contained in:
@@ -9,18 +9,18 @@ from awx.main.models import *
|
|||||||
class Migration(DataMigration):
|
class Migration(DataMigration):
|
||||||
|
|
||||||
def forwards(self, orm):
|
def forwards(self, orm):
|
||||||
SystemJobTemplate(name='Delete Old Jobs',
|
SystemJobTemplate(name='Cleanup Job Details',
|
||||||
description="Run a job to delete jobs that are older than a given number of days",
|
description="Remove job history older than X days",
|
||||||
job_type="cleanup_jobs",
|
job_type="cleanup_jobs",
|
||||||
created=now(),
|
created=now(),
|
||||||
modified=now()).save()
|
modified=now()).save()
|
||||||
SystemJobTemplate(name='Cleanup Deleted Data',
|
SystemJobTemplate(name='Cleanup Deleted Data',
|
||||||
description="Run a job to cleanup any deleted objects that are older than a given number of days",
|
description="Remove deleted object history older than X days",
|
||||||
job_type="cleanup_deleted",
|
job_type="cleanup_deleted",
|
||||||
created=now(),
|
created=now(),
|
||||||
modified=now()).save()
|
modified=now()).save()
|
||||||
SystemJobTemplate(name='Cleanup Activity Stream',
|
SystemJobTemplate(name='Cleanup Activity Stream',
|
||||||
description="Run a job to purge activity stream data that's older than a given number of days",
|
description="Remove activity stream history older than X days",
|
||||||
job_type="cleanup_activitystream",
|
job_type="cleanup_activitystream",
|
||||||
created=now(),
|
created=now(),
|
||||||
modified=now()).save()
|
modified=now()).save()
|
||||||
|
|||||||
Reference in New Issue
Block a user