Add PHP, fix enabling everything we wanted to disable
This commit is contained in:
parent
8ff9285b35
commit
c6a82c0d4e
@ -48,7 +48,7 @@
|
||||
- name: Disable modules
|
||||
command:
|
||||
argv:
|
||||
- "/usr/sbin/a2enmod"
|
||||
- "/usr/sbin/a2dismod"
|
||||
- "{{ item }}"
|
||||
removes: "/etc/apache2/mods-enabled/{{ item }}.load"
|
||||
loop:
|
||||
@ -61,9 +61,11 @@
|
||||
- "{{ item }}"
|
||||
creates: "/etc/apache2/mods-enabled/{{ item }}.load"
|
||||
loop:
|
||||
- headers
|
||||
- mpm_prefork
|
||||
# Fun fact: this works
|
||||
- php*
|
||||
- rewrite
|
||||
- ssl
|
||||
- headers
|
||||
notify: restart apache
|
||||
become: yes
|
||||
|
Loading…
Reference in New Issue
Block a user