mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Demo data flake8 cleanup
This commit is contained in:
parent
8c4e4f4c0d
commit
d1801bdf9f
@ -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.')
|
||||||
|
Loading…
Reference in New Issue
Block a user