mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
@@ -108,6 +108,8 @@ class VarsModule(BaseVarsPlugin):
|
|||||||
if os.path.isdir(full_path):
|
if os.path.isdir(full_path):
|
||||||
# matched dir name, so use all files included recursively
|
# matched dir name, so use all files included recursively
|
||||||
for spath in os.listdir(full_path):
|
for spath in os.listdir(full_path):
|
||||||
|
if spath.startswith('.'):
|
||||||
|
continue
|
||||||
full_spath = os.path.join(full_path, spath)
|
full_spath = os.path.join(full_path, spath)
|
||||||
if os.path.isdir(full_spath):
|
if os.path.isdir(full_spath):
|
||||||
found.extend(self._find_vars_files(full_spath, ''))
|
found.extend(self._find_vars_files(full_spath, ''))
|
||||||
|
|||||||
Reference in New Issue
Block a user