瀏覽代碼

Allow adding fish PPA on Mint

master
Chris Smith 10 年之前
父節點
當前提交
7d4257c50d
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. 6
    1
      playbooks/includes/install-fish

+ 6
- 1
playbooks/includes/install-fish 查看文件

@@ -4,8 +4,13 @@
4 4
 - name: install python-pycurl (needed to add fish PPA)
5 5
   apt: pkg=python-pycurl
6 6
 
7
-- name: add fish PPA
7
+- name: add fish PPA (Debian)
8 8
   apt_repository: repo='ppa:fish-shell/release-2' update_cache=yes
9
+  when: ansible_os_family == 'Debian'
10
+
11
+- name: add fish PPA (Mint)
12
+  apt_repository: repo='deb http://ppa.launchpad.net/fish-shell/release-2/ubuntu raring main' update_cache=yes
13
+  when: ansible_os_family == 'Linuxmint'
9 14
 
10 15
 - name: install fish
11 16
   apt: pkg=fish

Loading…
取消
儲存