mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 17:58:37 -05:00
follow symlinks while discovering valid playbooks
related: https://github.com/ansible/awx/pull/6769 Co-authored-by: Francois Herbert <francois@herbert.org.nz>
This commit is contained in:
@@ -64,6 +64,7 @@ def could_be_playbook(project_path, dir_path, filename):
|
||||
matched = True
|
||||
break
|
||||
except IOError:
|
||||
logger.exception(f'failed to open {playbook_path}')
|
||||
return None
|
||||
if not matched:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user