Add '-f' option to a2dismod to fix hanging minions for some modules (#143)
This commit is contained in:
parent
b1640f4f3d
commit
33170b1dce
@ -15,7 +15,7 @@ a2enmod {{ module }}:
|
|||||||
{% 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
|
||||||
|
Loading…
Reference in New Issue
Block a user