mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
update PHP apache module workaround (#9951)
* update php apache module workaround * Update apache2_module.py * Update apache2_module.py * Update apache2_module.py * add changelog fragment * Update changelogs/fragments/9951-mod-php-identifier.yml Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Update 9951-mod-php-identifier.yml --------- Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
2
changelogs/fragments/9951-mod-php-identifier.yml
Normal file
2
changelogs/fragments/9951-mod-php-identifier.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
minor_changes:
|
||||||
|
- apache2_module - added workaround for new PHP module name, from ``php7_module`` to ``php_module`` (https://github.com/ansible-collections/community.general/pull/9951).
|
||||||
@@ -194,6 +194,7 @@ def create_apache_identifier(name):
|
|||||||
|
|
||||||
# re expressions to extract subparts of names
|
# re expressions to extract subparts of names
|
||||||
re_workarounds = [
|
re_workarounds = [
|
||||||
|
('php8', re.compile(r'^(php)[\d\.]+')),
|
||||||
('php', re.compile(r'^(php\d)\.')),
|
('php', re.compile(r'^(php\d)\.')),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user