Преглед на файлове

roundcube install from wheezy backports or Ubuntu main

Make change to install roundcube from wheezy backports on Debian 7 work with Ubuntu 14.04
Sven Neuhaus преди 10 години
родител
ревизия
53ede6e37a
променени са 1 файла, в които са добавени 11 реда и са изтрити 4 реда
  1. 11
    4
      roles/webmail/tasks/roundcube.yml

+ 11
- 4
roles/webmail/tasks/roundcube.yml Целия файл

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

Loading…
Отказ
Запис