mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Refining integration test - previous was invalid
This commit is contained in:
parent
34b73c6afc
commit
c00642d46c
1 changed files with 11 additions and 1 deletions
|
@ -21,12 +21,22 @@
|
|||
"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
|
||||
apache2_module:
|
||||
name: "{{ item.module}}"
|
||||
state: "{{ item.state}}"
|
||||
ignore_configcheck: true
|
||||
register: disable_mpm_modules
|
||||
with_items:
|
||||
- { module: mpm_prefork, state: absent }
|
||||
- { module: mpm_event, state: present }
|
||||
|
||||
- name: Disable MPM event module
|
||||
apache2_module:
|
||||
name: "{{ item.module}}"
|
||||
state: "{{ item.state}}"
|
||||
ignore_configcheck: true
|
||||
warn_mpm_absent: false
|
||||
warn_mpm_absent: False
|
||||
register: disable_mpm_modules
|
||||
with_items:
|
||||
- { module: mpm_event, state: absent }
|
||||
|
|
Loading…
Reference in a new issue