mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 09:48:51 -03:30
Return list of playbook files from the filesystem for manual projects.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user