2013-11-05 21:06:10 +01:00
|
|
|
{% if grains['os_family']=="Debian" %}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- apache
|
|
|
|
|
|
|
|
a2enmod vhost_alias:
|
|
|
|
cmd.run:
|
|
|
|
- unless: ls /etc/apache2/mods-enabled/vhost_alias.load
|
|
|
|
- order: 225
|
|
|
|
- require:
|
|
|
|
- pkg: apache
|
|
|
|
- watch_in:
|
2014-01-04 23:46:47 +01:00
|
|
|
- module: apache-restart
|
2018-11-09 00:25:52 +01:00
|
|
|
- require_in:
|
|
|
|
- module: apache-restart
|
|
|
|
- module: apache-reload
|
|
|
|
- service: apache
|
2013-11-05 21:06:10 +01:00
|
|
|
|
|
|
|
{% endif %}
|