mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
parent
9a48f16bf2
commit
b8e0c91bd4
@ -163,6 +163,8 @@ class AnsibleInventoryLoader(object):
|
||||
raise RuntimeError('%s failed (rc=%d) with stdout:\n%s\nstderr:\n%s' % (
|
||||
self.method, proc.returncode, stdout, stderr))
|
||||
|
||||
for line in stderr.splitlines():
|
||||
logger.error(line)
|
||||
try:
|
||||
data = json.loads(stdout)
|
||||
if not isinstance(data, dict):
|
||||
|
Loading…
Reference in New Issue
Block a user