diff --git a/awx/main/management/commands/inventory_import.py b/awx/main/management/commands/inventory_import.py index b088877e8e..7ea3ae2806 100644 --- a/awx/main/management/commands/inventory_import.py +++ b/awx/main/management/commands/inventory_import.py @@ -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):