diff --git a/tasks/configure.yml b/tasks/configure.yml index ba2eff8..1cd8905 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -9,6 +9,14 @@ rule: allow port: 443 +- name: Disable MPM Apache2 modules + community.general.apache2_module: + state: absent + name: "{{ item }}" + loop: + - mpm_worker + - mpm_event + - name: Enable Apache2 modules community.general.apache2_module: state: present @@ -18,14 +26,6 @@ - ssl - mpm_prefork -- name: Disable MPM Apache2 modules - community.general.apache2_module: - state: absent - name: "{{ item }}" - loop: - - mpm_worker - - mpm_event - - name: Stop Apache service: name: apache2