2013-08-13 22:30:49 +02:00
|
|
|
{% if grains['os_family']=="Debian" %}
|
|
|
|
|
2013-07-29 23:29:41 +02:00
|
|
|
include:
|
2013-11-05 21:05:28 +01:00
|
|
|
- apache
|
2013-07-29 23:29:41 +02:00
|
|
|
|
2015-06-19 20:44:53 +02:00
|
|
|
a2enmod actions:
|
2013-07-29 23:29:41 +02:00
|
|
|
cmd.run:
|
2015-06-19 20:44:53 +02:00
|
|
|
- unless: ls /etc/apache2/mods-enabled/actions.load
|
|
|
|
- order: 255
|
2013-11-05 21:05:28 +01:00
|
|
|
- require:
|
|
|
|
- pkg: apache
|
2013-07-29 23:29:41 +02:00
|
|
|
- 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-07-29 23:29:41 +02:00
|
|
|
|
|
|
|
{% endif %}
|