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
|
- name: Disable modules
|
||||||
command:
|
command:
|
||||||
argv:
|
argv:
|
||||||
- "/usr/sbin/a2enmod"
|
- "/usr/sbin/a2dismod"
|
||||||
- "{{ item }}"
|
- "{{ item }}"
|
||||||
removes: "/etc/apache2/mods-enabled/{{ item }}.load"
|
removes: "/etc/apache2/mods-enabled/{{ item }}.load"
|
||||||
loop:
|
loop:
|
||||||
@ -61,9 +61,11 @@
|
|||||||
- "{{ item }}"
|
- "{{ item }}"
|
||||||
creates: "/etc/apache2/mods-enabled/{{ item }}.load"
|
creates: "/etc/apache2/mods-enabled/{{ item }}.load"
|
||||||
loop:
|
loop:
|
||||||
|
- headers
|
||||||
- mpm_prefork
|
- mpm_prefork
|
||||||
|
# Fun fact: this works
|
||||||
|
- php*
|
||||||
- rewrite
|
- rewrite
|
||||||
- ssl
|
- ssl
|
||||||
- headers
|
|
||||||
notify: restart apache
|
notify: restart apache
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user