summaryrefslogtreecommitdiff
path: root/lib/ansible/parsing/dataloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/parsing/dataloader.py')
-rw-r--r--lib/ansible/parsing/dataloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/parsing/dataloader.py b/lib/ansible/parsing/dataloader.py
index e520c58302..0b9a3ff9f2 100644
--- a/lib/ansible/parsing/dataloader.py
+++ b/lib/ansible/parsing/dataloader.py
@@ -422,7 +422,7 @@ class DataLoader:
if allow_dir:
found.extend(self._get_dir_vars_files(to_text(full_path), extensions))
else:
- next
+ continue
else:
found.append(full_path)
break