{% endfor %} | {% endfor %} | ||||
{% for module in salt['pillar.get']('apache:modules:disabled', []) %} | {% for module in salt['pillar.get']('apache:modules:disabled', []) %} | ||||
a2dismod {{ module }}: | |||||
a2dismod -f {{ module }}: | |||||
cmd.run: | cmd.run: | ||||
- onlyif: ls /etc/apache2/mods-enabled/{{ module }}.load | - onlyif: ls /etc/apache2/mods-enabled/{{ module }}.load | ||||
- order: 225 | - order: 225 |