Add PHP, fix enabling everything we wanted to disable

This commit is contained in:
Salt 2020-07-12 09:58:40 -05:00
parent 8ff9285b35
commit c6a82c0d4e

View File

@ -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