mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Return list of playbook files from the filesystem for manual projects.
This commit is contained in:
parent
0cde04a024
commit
efadd1a954
@ -981,7 +981,7 @@ class ProjectPlaybooksSerializer(ProjectSerializer):
|
||||
fields = ('playbooks',)
|
||||
|
||||
def get_playbooks(self, obj):
|
||||
return obj.playbook_files
|
||||
return obj.playbook_files if obj.scm_type else obj.playbooks
|
||||
|
||||
@property
|
||||
def data(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user