mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Demo data flake8 cleanup
This commit is contained in:
@@ -36,12 +36,12 @@ class Command(BaseCommand):
|
|||||||
i = Inventory.objects.create(name='Demo Inventory',
|
i = Inventory.objects.create(name='Demo Inventory',
|
||||||
organization=o,
|
organization=o,
|
||||||
created_by=superuser)
|
created_by=superuser)
|
||||||
h = Host.objects.create(name='localhost',
|
Host.objects.create(name='localhost',
|
||||||
inventory=i,
|
inventory=i,
|
||||||
variables="ansible_connection: local",
|
variables="ansible_connection: local",
|
||||||
created_by=superuser)
|
created_by=superuser)
|
||||||
jt = JobTemplate.objects.create(name='Demo Job Template',
|
JobTemplate.objects.create(name='Demo Job Template',
|
||||||
project=p,
|
project=p,
|
||||||
inventory=i,
|
inventory=i,
|
||||||
credential=c)
|
credential=c)
|
||||||
print('Default organization added.')
|
print('Default organization added.')
|
||||||
|
|||||||
Reference in New Issue
Block a user