mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -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:
parent
312c76788d
commit
eaee8d76c4
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user