소스 검색

Remove Dovecot installation for older distros

Alex Payne 9 년 전
부모
커밋
34d537fcf2
1개의 변경된 파일0개의 추가작업 그리고 26개의 파일을 삭제
  1. 0
    26
      roles/mailserver/tasks/dovecot.yml

+ 0
- 26
roles/mailserver/tasks/dovecot.yml 파일 보기

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
 - name: Install Dovecot and related packages on distributions other than Debian 7
1
 - name: Install Dovecot and related packages on distributions other than Debian 7
21
   apt: pkg={{ item }} update_cache=yes state=installed
2
   apt: pkg={{ item }} update_cache=yes state=installed
22
   with_items:
3
   with_items:
26
     - dovecot-managesieved
7
     - dovecot-managesieved
27
     - dovecot-pgsql
8
     - dovecot-pgsql
28
     - dovecot-pop3d
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
   tags:
10
   tags:
37
     - dependencies
11
     - dependencies
38
 
12
 

Loading…
취소
저장