Browse Source

Remove Dovecot installation for older distros

Alex Payne 8 years ago
parent
commit
34d537fcf2
1 changed files with 0 additions and 26 deletions
  1. 0
    26
      roles/mailserver/tasks/dovecot.yml

+ 0
- 26
roles/mailserver/tasks/dovecot.yml View File

@@ -1,22 +1,3 @@
1
-- name: Add wheezy-backports to get a reasonably current Dovecot on Debian 7
2
-  apt_repository: repo='deb http://http.debian.net/debian wheezy-backports main'
3
-  when: ansible_distribution_release == 'wheezy'
4
-  tags:
5
-    - dependencies
6
-
7
-- name: Install Dovecot and related packages on Debian 7
8
-  apt: pkg={{ item }} update_cache=yes state=latest default_release=wheezy-backports
9
-  with_items:
10
-    - dovecot-core
11
-    - dovecot-imapd
12
-    - dovecot-lmtpd
13
-    - dovecot-managesieved
14
-    - dovecot-pgsql
15
-    - dovecot-pop3d
16
-  when: ansible_distribution_release == 'wheezy'
17
-  tags:
18
-    - dependencies
19
-
20 1
 - name: Install Dovecot and related packages on distributions other than Debian 7
21 2
   apt: pkg={{ item }} update_cache=yes state=installed
22 3
   with_items:
@@ -26,13 +7,6 @@
26 7
     - dovecot-managesieved
27 8
     - dovecot-pgsql
28 9
     - dovecot-pop3d
29
-  when: ansible_distribution_release != 'wheezy'
30
-  tags:
31
-    - dependencies
32
-
33
-- name: Install Postgres 9.1 for Dovecot on older distributions
34
-  apt: pkg=postgresql-9.1 state=present
35
-  when: ansible_distribution_release != 'trusty' and ansible_distribution_release != 'jessie'
36 10
   tags:
37 11
     - dependencies
38 12
 

Loading…
Cancel
Save