Browse Source

Allow adding fish PPA on Mint

master
Chris Smith 10 years ago
parent
commit
7d4257c50d
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      playbooks/includes/install-fish

+ 6
- 1
playbooks/includes/install-fish View File

4
 - name: install python-pycurl (needed to add fish PPA)
4
 - name: install python-pycurl (needed to add fish PPA)
5
   apt: pkg=python-pycurl
5
   apt: pkg=python-pycurl
6
 
6
 
7
-- name: add fish PPA
7
+- name: add fish PPA (Debian)
8
   apt_repository: repo='ppa:fish-shell/release-2' update_cache=yes
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
 - name: install fish
15
 - name: install fish
11
   apt: pkg=fish
16
   apt: pkg=fish

Loading…
Cancel
Save