mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
fix(debian): don't execute a2enmod on every run
This commit is contained in:
parent
c17601ee42
commit
5844322de4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue