Browse Source

fix(debian): don't execute a2enmod on every run

tags/v1.0.4
Benjamin Neff 4 years ago
parent
commit
5844322de4
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apache/config/modules/install.sls

+ 1
- 1
apache/config/modules/install.sls View File



cmd.run: cmd.run:
- name: a2enmod -f {{ module }} - name: a2enmod -f {{ module }}
- onlyif: ls {{ apache.moddir }}/{{ module }}.load
- unless: ls {{ apache.moddir }}/{{ module }}.load


{% elif grains.os_family in ('RedHat', 'Arch') %} {% elif grains.os_family in ('RedHat', 'Arch') %}



Loading…
Cancel
Save