Skip to content

Commit

Permalink
Refining integration test - previous was invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
Warkdev committed Jan 8, 2023
1 parent 34b73c6 commit c00642d
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit c00642d

Please sign in to comment.