Browse Source

Couple issues with OpenDMARC on Debian 7:

 * fix mail_db_opendmarc_username/mail_db_opendmarc_password variable
   not found.
 * python-mysqldb package is required. Add it to opendmarc task.
Pavel Karoukin 10 years ago
parent
commit
a86e43d5b4
2 changed files with 8 additions and 2 deletions
  1. 5
    2
      roles/mailserver/tasks/dmarc.yml
  2. 3
    0
      vars/user.yml

+ 5
- 2
roles/mailserver/tasks/dmarc.yml View File

1
-- name: Install OpenDMARC milter
2
-  apt: pkg=opendmarc state=installed update_cache=yes
1
+- name: Install OpenDMARC milter and related packages
2
+  apt: pkg={{ item }} state=installed update_cache=yes
3
+  with_items:
4
+      - python-mysqldb
5
+      - opendmarc
3
 
6
 
4
 - name: Copy OpenDMARC configuration file into place
7
 - name: Copy OpenDMARC configuration file into place
5
   template: src=etc_opendmarc.conf.j2 dest=/etc/opendmarc.conf owner=root group=root
8
   template: src=etc_opendmarc.conf.j2 dest=/etc/opendmarc.conf owner=root group=root

+ 3
- 0
vars/user.yml View File

87
 # wallabag
87
 # wallabag
88
 wallabag_salt: TODO
88
 wallabag_salt: TODO
89
 wallabag_db_password: TODO
89
 wallabag_db_password: TODO
90
+
91
+mail_db_opendmarc_username: opendmarc
92
+mail_db_opendmarc_password: TODO

Loading…
Cancel
Save