Skip to content

Commit 7ff56df

Browse files
author
Lucas Costa Beyeler
authored
Bugfix lucascbeyeler#11 - Role fails to find local zimbra commands
1 parent d077dc7 commit 7ff56df

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tasks/configure/mta.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,23 @@
1919
mode: 0440
2020

2121
- name: Enabling SpamAssassin Auto Update
22-
command: zmlocalconfig -e antispam_enable_rule_updates=true
22+
command: ./zmlocalconfig -e antispam_enable_rule_updates=true
23+
args:
24+
chdir: /opt/zimbra/bin/
2325
become: true
2426
become_user: zimbra
2527

2628
- name: Enabling Amavis to restart when the rules are update
27-
command: zmlocalconfig -e antispam_enable_restarts=true
29+
command: ./zmlocalconfig -e antispam_enable_restarts=true
30+
args:
31+
chdir: /opt/zimbra/bin/
2832
become: true
2933
become_user: zimbra
3034

3135
- name: Enabling SpamAssassin rule compilation
32-
command: zmlocalconfig -e antispam_enable_rule_compilation=true
36+
command: ./zmlocalconfig -e antispam_enable_rule_compilation=true
37+
args:
38+
chdir: /opt/zimbra/bin/
3339
become: true
3440
become_user: zimbra
3541

0 commit comments

Comments
 (0)