mirror of
https://github.com/ansible/awx.git
synced 2026-04-09 20:19:21 -02:30
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:
@@ -199,7 +199,7 @@ class ProjectOptions(models.Model):
|
||||
results = []
|
||||
project_path = self.get_project_path()
|
||||
if project_path:
|
||||
for dirpath, dirnames, filenames in os.walk(smart_str(project_path)):
|
||||
for dirpath, dirnames, filenames in os.walk(smart_str(project_path), followlinks=True):
|
||||
if skip_directory(dirpath):
|
||||
continue
|
||||
for filename in filenames:
|
||||
|
||||
Reference in New Issue
Block a user