2017-10-29 16:37:19 +01:00
|
|
|
---
|
|
|
|
- include: tasks/apt_install.yml
|
|
|
|
- include: tasks/ufw_tcp.yml
|
|
|
|
|
|
|
|
- name: Configure Apache AllowOverride All
|
|
|
|
replace:
|
|
|
|
dest=/etc/apache2/apache2.conf
|
|
|
|
regexp='(<[dD]irectory /var/www/>[^<]*)AllowOverride None'
|
|
|
|
replace='\1AllowOverride All'
|
|
|
|
|
2017-10-29 18:49:04 +01:00
|
|
|
- include: mariadb.yml
|
|
|
|
|
2017-10-29 16:37:19 +01:00
|
|
|
- name: Restart apache service
|
|
|
|
service: name=apache2 state=restarted
|