From 382be570ece32a084289432a2900dc99baba34fd Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 26 Nov 2020 07:26:40 +0100 Subject: [PATCH] Apache2 module: Add another shib module identifier (#1383) * Add another shib module identifier to apache2 module (#1379) * Update changelogs/fragments/1383-apache2-module-amend-shib-workaround.yaml Co-authored-by: Felix Fontein --- .../fragments/1383-apache2-module-amend-shib-workaround.yaml | 2 ++ plugins/modules/web_infrastructure/apache2_module.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/1383-apache2-module-amend-shib-workaround.yaml diff --git a/changelogs/fragments/1383-apache2-module-amend-shib-workaround.yaml b/changelogs/fragments/1383-apache2-module-amend-shib-workaround.yaml new file mode 100644 index 0000000000..ccd89b0121 --- /dev/null +++ b/changelogs/fragments/1383-apache2-module-amend-shib-workaround.yaml @@ -0,0 +1,2 @@ +bugfixes: +- apache2_module - amend existing module identifier workaround to also apply to updated Shibboleth modules (https://github.com/ansible-collections/community.general/issues/1379). diff --git a/plugins/modules/web_infrastructure/apache2_module.py b/plugins/modules/web_infrastructure/apache2_module.py index 0253e7a42d..4cc0ef8b37 100644 --- a/plugins/modules/web_infrastructure/apache2_module.py +++ b/plugins/modules/web_infrastructure/apache2_module.py @@ -161,6 +161,7 @@ def create_apache_identifier(name): # a2enmod name replacement to apache2ctl -M names text_workarounds = [ + ('shib', 'mod_shib'), ('shib2', 'mod_shib'), ('evasive', 'evasive20_module'), ]