Browse Source

Only install Roundcube on Trusty for now, since there's no Jessie package.

Not awesome. We need a better alternative, ideally one with a better security stance.
Alex Payne 10 years ago
parent
commit
cea968d5ae
3 changed files with 3 additions and 24 deletions
  1. 1
    1
      README.md
  2. 1
    0
      roles/webmail/tasks/main.yml
  3. 1
    23
      roles/webmail/tasks/roundcube.yml

+ 1
- 1
README.md View File

19
 -   [IMAP](https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol) over SSL via [Dovecot](http://dovecot.org/), complete with full text search provided by [Solr](https://lucene.apache.org/solr/).
19
 -   [IMAP](https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol) over SSL via [Dovecot](http://dovecot.org/), complete with full text search provided by [Solr](https://lucene.apache.org/solr/).
20
 -   [POP3](https://en.wikipedia.org/wiki/Post_Office_Protocol) over SSL, also via Dovecot
20
 -   [POP3](https://en.wikipedia.org/wiki/Post_Office_Protocol) over SSL, also via Dovecot
21
 -   [SMTP](https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol) over SSL via Postfix, including a nice set of [DNSBLs](https://en.wikipedia.org/wiki/DNSBL) to discard spam before it ever hits your filters.
21
 -   [SMTP](https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol) over SSL via Postfix, including a nice set of [DNSBLs](https://en.wikipedia.org/wiki/DNSBL) to discard spam before it ever hits your filters.
22
--   Webmail via [Roundcube](http://www.roundcube.net/).
22
+-   Webmail via [Roundcube](http://www.roundcube.net/). **NOTE:** currently [only available on Ubuntu Trusty](http://forums.debian.net/viewtopic.php?f=10&t=121928).
23
 -   Mobile push notifications via [Z-Push](http://z-push.sourceforge.net/soswp/index.php?pages_id=1&t=home).
23
 -   Mobile push notifications via [Z-Push](http://z-push.sourceforge.net/soswp/index.php?pages_id=1&t=home).
24
 -   Email client [automatic configuration](https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration).
24
 -   Email client [automatic configuration](https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Autoconfiguration).
25
 -   Jabber/[XMPP](http://xmpp.org/) instant messaging via [Prosody](http://prosody.im/).
25
 -   Jabber/[XMPP](http://xmpp.org/) instant messaging via [Prosody](http://prosody.im/).

+ 1
- 0
roles/webmail/tasks/main.yml View File

1
 - include: roundcube.yml tags=roundcube
1
 - include: roundcube.yml tags=roundcube
2
+  when: ansible_distribution_release == 'trusty'

+ 1
- 23
roles/webmail/tasks/roundcube.yml View File

1
-- name: Add backports for Roundcube on Debian
2
-  lineinfile: dest=/etc/apt/sources.list line="deb http://http.debian.net/debian wheezy-backports main"
3
-  when: ansible_distribution_release == 'wheezy'
4
-  tags:
5
-    - dependencies
6
-
7
-- name: Update apt cache for backports
8
-  apt: update_cache=yes
9
-  tags:
10
-    - dependencies
11
-
12
-- name: Install Roundcube from wheezy-backports
13
-  apt: pkg={{ item }} state=latest default_release=wheezy-backports
14
-  with_items:
15
-  - roundcube
16
-  - roundcube-pgsql
17
-  - roundcube-plugins
18
-  when: ansible_distribution_release == 'wheezy'
19
-  tags:
20
-    - dependencies
21
-
22
-- name: Install Roundcube on Ubuntu 14.04 LTS
1
+- name: Install Roundcube
23
   apt: pkg={{ item }} state=latest
2
   apt: pkg={{ item }} state=latest
24
   with_items:
3
   with_items:
25
   - roundcube
4
   - roundcube
26
   - roundcube-pgsql
5
   - roundcube-pgsql
27
   - roundcube-plugins
6
   - roundcube-plugins
28
-  when: ansible_distribution_release == 'trusty'
29
   tags:
7
   tags:
30
     - dependencies
8
     - dependencies
31
 
9
 

Loading…
Cancel
Save