diff --git a/plugins/modules/apache2_module.py b/plugins/modules/apache2_module.py index afedd0163a..fd2152f6ba 100644 --- a/plugins/modules/apache2_module.py +++ b/plugins/modules/apache2_module.py @@ -194,7 +194,7 @@ def create_apache_identifier(name): # re expressions to extract subparts of names re_workarounds = [ - ('php7', re.compile(r'^(php7)[\d\.]+')), + ('php', re.compile(r'^(php\d)\.')), ('php8', re.compile(r'^(php)[\d\.]+')), ]