|
@@ -4,12 +4,19 @@
|
4
|
4
|
- name: Update apt cache for backports
|
5
|
5
|
apt: update_cache=yes
|
6
|
6
|
|
7
|
|
-- name: Install Roundcube
|
|
7
|
+- name: Install Roundcube from wheezy-backports
|
8
|
8
|
apt: pkg={{ item }} state=latest default_release=wheezy-backports
|
9
|
9
|
with_items:
|
10
|
|
- - roundcube
|
11
|
|
- - roundcube-pgsql
|
12
|
|
- - roundcube-plugins
|
|
10
|
+ - roundcube
|
|
11
|
+ - roundcube-pgsql
|
|
12
|
+ when: ansible_distribution_release == 'wheezy'
|
|
13
|
+
|
|
14
|
+ - name: Install Roundcube on Ubuntu 14.04 LST
|
|
15
|
+ apt: pkg={{ item }} state=latest
|
|
16
|
+ with_items:
|
|
17
|
+ - roundcube
|
|
18
|
+ - roundcube-pgsql
|
|
19
|
+ when: ansible_distribution_release == 'trusty'
|
13
|
20
|
|
14
|
21
|
- name: Configure Roundcube database
|
15
|
22
|
template: src={{ item.src }} dest={{ item.dest }} group={{ item.group }} mode={{ item.mode }} owner=root force=yes
|