mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
lint
This commit is contained in:
@@ -171,7 +171,7 @@ class AnsibleInventoryLoader(object):
|
|||||||
|
|
||||||
# TODO: remove proot args once inv. updates run in containers
|
# TODO: remove proot args once inv. updates run in containers
|
||||||
if (('AWX_PRIVATE_DATA_DIR' in env) and
|
if (('AWX_PRIVATE_DATA_DIR' in env) and
|
||||||
getattr(settings, 'AWX_PROOT_ENABLED', False)):
|
getattr(settings, 'AWX_PROOT_ENABLED', False)):
|
||||||
cmd = self.get_proot_args(cmd, env)
|
cmd = self.get_proot_args(cmd, env)
|
||||||
|
|
||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
|
||||||
|
|||||||
Reference in New Issue
Block a user