Bugfix #11 - Role fails to find local zimbra commands

This commit is contained in:
Lucas Costa Beyeler 2017-09-27 16:34:18 -03:00 committed by GitHub
parent d077dc7041
commit 7ff56df9f9
1 changed files with 9 additions and 3 deletions

View File

@ -19,17 +19,23 @@
mode: 0440
- name: Enabling SpamAssassin Auto Update
command: zmlocalconfig -e antispam_enable_rule_updates=true
command: ./zmlocalconfig -e antispam_enable_rule_updates=true
args:
chdir: /opt/zimbra/bin/
become: true
become_user: zimbra
- name: Enabling Amavis to restart when the rules are update
command: zmlocalconfig -e antispam_enable_restarts=true
command: ./zmlocalconfig -e antispam_enable_restarts=true
args:
chdir: /opt/zimbra/bin/
become: true
become_user: zimbra
- name: Enabling SpamAssassin rule compilation
command: zmlocalconfig -e antispam_enable_rule_compilation=true
command: ./zmlocalconfig -e antispam_enable_rule_compilation=true
args:
chdir: /opt/zimbra/bin/
become: true
become_user: zimbra