fix(debian): don't execute a2enmod on every run
This commit is contained in:
parent
c17601ee42
commit
5844322de4
@ -18,7 +18,7 @@ apache-config-modules-{{ module }}-enable:
|
||||
|
||||
cmd.run:
|
||||
- name: a2enmod -f {{ module }}
|
||||
- onlyif: ls {{ apache.moddir }}/{{ module }}.load
|
||||
- unless: ls {{ apache.moddir }}/{{ module }}.load
|
||||
|
||||
{% elif grains.os_family in ('RedHat', 'Arch') %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user