浏览代码

Ubuntu Trusty fix for Dovecot (postgresql 9.3 instead of 9.1)

Sven Neuhaus 10 年前
父节点
当前提交
779d6c6bb9
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13
    0
      roles/mailserver/tasks/dovecot.yml

+ 13
- 0
roles/mailserver/tasks/dovecot.yml 查看文件

@@ -8,6 +8,19 @@
8 8
     - dovecot-managesieved
9 9
     - postgresql-9.1
10 10
     - dovecot-pgsql
11
+  when: ansible_distribution_release != 'trusty'
12
+
13
+- name: Install Dovecot and related packages for Ubuntu trusty
14
+  apt: pkg={{ item }} state=installed
15
+  with_items:
16
+    - dovecot-core
17
+    - dovecot-imapd
18
+    - dovecot-pop3d
19
+    - dovecot-lmtpd
20
+    - dovecot-managesieved
21
+    - postgresql-9.3
22
+    - dovecot-pgsql
23
+  when: ansible_distribution_release == 'trusty'
11 24
 
12 25
 - name: Create vmail group
13 26
   group: name=vmail state=present gid=5000

正在加载...
取消
保存