diff --git a/rho/inventory_scan.py b/rho/inventory_scan.py index 9fac2fa..58836db 100644 --- a/rho/inventory_scan.py +++ b/rho/inventory_scan.py @@ -313,9 +313,9 @@ def inventory_scan(hosts_yml_path, facts_to_collect, report_path, forks=forks, vars=json.dumps(ansible_vars)) - rho_host_scan_timeout = os.getenv('RHO_HOST_SCAN_TIMEOUT', 10) + rho_host_scan_timeout = os.getenv('RHO_HOST_SCAN_TIMEOUT', 20) host_scan_timeout = ((len(hosts) // int(forks)) + 1) \ - * rho_host_scan_timeout + * int(rho_host_scan_timeout) utilities.log.info('Starting scan for group "%s" with %d systems' ' with timeout of %d minutes.', group, len(hosts), host_scan_timeout)