Add '-f' option to a2dismod to fix hanging minions for some modules (#143)

This commit is contained in:
mschiff 2016-05-24 08:49:03 +02:00 committed by Forrest
parent b1640f4f3d
commit 33170b1dce

View File

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