17 lines
265 B
Plaintext
17 lines
265 B
Plaintext
{% if grains['os_family']=="Debian" %}
|
|
|
|
include:
|
|
- apt
|
|
- apache
|
|
|
|
a2enmod rewrite:
|
|
cmd.run:
|
|
- unless: ls /etc/apache2/mods-enabled/rewrite.load
|
|
- order: 225
|
|
- require:
|
|
- pkg: apache
|
|
- watch_in:
|
|
- module: apache-restart
|
|
|
|
{% endif %}
|