fix NEEDRESTART_MODE
[ansible.git] / roles / apache / tasks / main.yml
index 9b6c82e12fd99deede7ed5c6bbd7145209bea315..12f9580c632affec50528d7558f1022e817eb2c7 100644 (file)
   - ssl
   - macro
   notify: apache
   - ssl
   - macro
   notify: apache
+- name: disable modules
+  apache2_module:
+    state: absent
+    name: "{{ item }}"
+  loop:
+  - access_compat
+  notify: apache
 - name: install shared config files
   copy:
     dest: /etc/apache2/conf-available/{{ item }}
 - name: install shared config files
   copy:
     dest: /etc/apache2/conf-available/{{ item }}