Commit 69db160e by Chris Jacobs

Skip dotfile in hosts dirs

parent 0b6570ee
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment