don't want to ignore explicit cwd

This commit is contained in:
Chris Jacobs 2013-06-04 21:06:49 -07:00
parent 69db160e2f
commit 588d4080df

View file

@ -49,7 +49,7 @@ class InventoryDirectory(object):
# used when run specifically
continue
# Skip hidden files
if i.startswith('.'):
if i.startswith('.') and not i.startswith('./'):
continue
# These are things inside of an inventory basedir
if i in ("host_vars", "group_vars", "vars_plugins"):