mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Skip dotfile in hosts dirs
This commit is contained in:
parent
0b6570eef8
commit
69db160e2f
1 changed files with 3 additions and 0 deletions
|
@ -48,6 +48,9 @@ class InventoryDirectory(object):
|
|||
# this file is generated on a failed playbook and should only be
|
||||
# used when run specifically
|
||||
continue
|
||||
# Skip hidden files
|
||||
if i.startswith('.'):
|
||||
continue
|
||||
# These are things inside of an inventory basedir
|
||||
if i in ("host_vars", "group_vars", "vars_plugins"):
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue