1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

refactor assertion for suse

This commit is contained in:
Warkdev 2023-01-08 14:42:45 +01:00
parent c01bc17936
commit 61b86e7493

View file

@ -16,10 +16,7 @@
- assert: - assert:
that: that:
- "'warnings' in disable_mpm_modules" - "'warnings' in disable_mpm_modules"
- disable_mpm_modules["warnings"] == [ - "'No MPM module loaded! apache2 reload AND other module actions will fail if no MPM module is loaded immediately.' in disable_mpm_modules['warnings']"
"No MPM module loaded! apache2 reload AND other module actions will fail if no MPM module is loaded immediately.",
"No MPM module loaded! apache2 reload AND other module actions will fail if no MPM module is loaded immediately."
]
- name: Enable MPM event module - Revert previous change - name: Enable MPM event module - Revert previous change
apache2_module: apache2_module: