mirror of
https://github.com/ansible/awx.git
synced 2026-01-29 23:34:42 -03:30
Fix .ini skipping logic in inventory importer
This commit is contained in:
parent
5d8ef49cfd
commit
e161efdd67
@ -338,7 +338,7 @@ class GenericLoader(object):
|
|||||||
for f in glob.glob("%s/*" % src):
|
for f in glob.glob("%s/*" % src):
|
||||||
if f.endswith(".ini"):
|
if f.endswith(".ini"):
|
||||||
# config files for inventory scripts should be ignored
|
# config files for inventory scripts should be ignored
|
||||||
pass
|
continue
|
||||||
if not os.path.isdir(f):
|
if not os.path.isdir(f):
|
||||||
if os.access(f, os.X_OK):
|
if os.access(f, os.X_OK):
|
||||||
ExecutableJsonLoader().load(f, memGroup)
|
ExecutableJsonLoader().load(f, memGroup)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user