浏览代码

Do not add wheezy backports on Ubuntu

Sven Neuhaus 10 年前
父节点
当前提交
925d67988b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      roles/webmail/tasks/roundcube.yml

+ 3
- 2
roles/webmail/tasks/roundcube.yml 查看文件

@@ -1,6 +1,7 @@
1
-- name: Add backports for Roundcube
1
+- name: Add backports for Roundcube on Debian
2 2
   lineinfile: dest=/etc/apt/sources.list line="deb http://http.debian.net/debian wheezy-backports main"
3
-
3
+  when: ansible_distribution_release == 'wheezy'
4
+  
4 5
 - name: Update apt cache for backports
5 6
   apt: update_cache=yes
6 7
 

正在加载...
取消
保存