This commit is contained in:
Daniel Hoffend 2025-07-30 05:10:54 -04:00 committed by GitHub
commit bb7f9aa8da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -258,7 +258,7 @@ def main():
) )
name = module.params['name'] name = module.params['name']
if name == 'cgi' and _run_threaded(module): if name == 'cgi' and module.params['state'] == 'present' and _run_threaded(module):
module.fail_json(msg="Your MPM seems to be threaded. No automatic actions on module cgi possible.") module.fail_json(msg="Your MPM seems to be threaded. No automatic actions on module cgi possible.")
if not module.params['identifier']: if not module.params['identifier']: