Add default playbook to job template preload

This commit is contained in:
Matthew Jones
2016-04-20 11:29:21 -04:00
parent caab667684
commit 16fbb7d14c

View File

@@ -41,6 +41,7 @@ class Command(BaseCommand):
variables="ansible_connection: local", variables="ansible_connection: local",
created_by=superuser) created_by=superuser)
JobTemplate.objects.create(name='Demo Job Template', JobTemplate.objects.create(name='Demo Job Template',
playbook='hello_world.yml',
project=p, project=p,
inventory=i, inventory=i,
credential=c) credential=c)