Selaa lähdekoodia

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

Sven Neuhaus 10 vuotta sitten
vanhempi
commit
779d6c6bb9
1 muutettua tiedostoa jossa 13 lisäystä ja 0 poistoa
  1. 13
    0
      roles/mailserver/tasks/dovecot.yml

+ 13
- 0
roles/mailserver/tasks/dovecot.yml Näytä tiedosto

@@ -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

Loading…
Peruuta
Tallenna