diff --git a/lib/module_utils/ngi_report_generator.py b/lib/module_utils/ngi_report_generator.py index 18673ff..1add063 100644 --- a/lib/module_utils/ngi_report_generator.py +++ b/lib/module_utils/ngi_report_generator.py @@ -44,7 +44,11 @@ def generate_ngi_report( # NOTE: Perhaps use `check=False` to prevent raising # CalledProcessError on non-zero exit codes process = subprocess.run( - full_cmd, shell=True, text=True, capture_output=True # , check=False + full_cmd, + shell=True, + text=True, + capture_output=True, + input="y\n", # , check=False ) # Check the outcome of the subprocess