2017-02-07 16:02:08 +01:00
|
|
|
{% if grains['os_family']=="Debian" %}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- apache
|
|
|
|
- apache.mod_proxy
|
|
|
|
|
|
|
|
a2enmod proxy_fcgi:
|
|
|
|
cmd.run:
|
|
|
|
- unless: ls /etc/apache2/mods-enabled/proxy_fcgi.load
|
|
|
|
- order: 225
|
|
|
|
- require:
|
|
|
|
- pkg: apache
|
|
|
|
- cmd: a2enmod proxy
|
|
|
|
- watch_in:
|
|
|
|
- module: apache-restart
|
2018-11-09 00:25:52 +01:00
|
|
|
- require_in:
|
|
|
|
- module: apache-restart
|
|
|
|
- module: apache-reload
|
|
|
|
- service: apache
|
2017-02-07 16:02:08 +01:00
|
|
|
|
|
|
|
{% endif %}
|