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 9 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,5 +1,8 @@
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 7
 - name: Copy OpenDMARC configuration file into place
5 8
   template: src=etc_opendmarc.conf.j2 dest=/etc/opendmarc.conf owner=root group=root

+ 3
- 0
vars/user.yml View File

@@ -87,3 +87,6 @@ selfoss_password_hash: "TODO"
87 87
 # wallabag
88 88
 wallabag_salt: TODO
89 89
 wallabag_db_password: TODO
90
+
91
+mail_db_opendmarc_username: opendmarc
92
+mail_db_opendmarc_password: TODO

Loading…
Cancel
Save