mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
Fix a bug launching a custom inventory script under proot where we would
never actually launch the job under proot
This commit is contained in:
@@ -472,7 +472,7 @@ def load_inventory_source(source, all_group=None, group_filter_re=None,
|
||||
if filename.endswith(".ini") or os.path.isdir(filename):
|
||||
continue
|
||||
load_inventory_source(filename, all_group, group_filter_re,
|
||||
host_filter_re)
|
||||
host_filter_re, is_custom=is_custom)
|
||||
else:
|
||||
all_group = all_group or MemGroup('all', os.path.dirname(source))
|
||||
if os.access(source, os.X_OK):
|
||||
|
||||
Reference in New Issue
Block a user