mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 09:07:45 -02:30
Add scm_branch while preloading data
Currently, the SCM url for default project is not able to fetch playbooks as branch is not specified. So, adding the scm_branch value resolves this issue. Signed-off-by: Vismay Golwala <vgolwala@redhat.com>
This commit is contained in:
@@ -30,6 +30,7 @@ class Command(BaseCommand):
|
|||||||
p = Project(name='Demo Project',
|
p = Project(name='Demo Project',
|
||||||
scm_type='git',
|
scm_type='git',
|
||||||
scm_url='https://github.com/ansible/ansible-tower-samples',
|
scm_url='https://github.com/ansible/ansible-tower-samples',
|
||||||
|
scm_branch='master',
|
||||||
scm_update_on_launch=True,
|
scm_update_on_launch=True,
|
||||||
scm_update_cache_timeout=0,
|
scm_update_cache_timeout=0,
|
||||||
organization=o)
|
organization=o)
|
||||||
|
|||||||
Reference in New Issue
Block a user