|
@@ -1,16 +1,8 @@
|
1
|
1
|
---
|
2
|
2
|
# Adds the fish-shell release PPA and installs fish.
|
3
|
3
|
|
4
|
|
-- name: install python-pycurl (needed to add fish PPA)
|
5
|
|
- apt: pkg=python-pycurl
|
6
|
|
-
|
7
|
|
-- name: add fish PPA (Debian)
|
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'
|
14
|
|
-
|
15
|
|
-- name: install fish
|
16
|
|
- apt: pkg=fish
|
|
4
|
+- include: install-from-ppa
|
|
5
|
+ vars:
|
|
6
|
+ ppa: 'ppa:fish-shell/release-2'
|
|
7
|
+ ppa_mint: 'deb http://ppa.launchpad.net/fish-shell/release-2/ubuntu raring main'
|
|
8
|
+ package: 'fish'
|